Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty regular expression crashes Alex #388

Closed
andreasabel opened this issue Oct 5, 2021 · 0 comments
Closed

Empty regular expression crashes Alex #388

andreasabel opened this issue Oct 5, 2021 · 0 comments
Assignees
Labels
LBNF Concerning the LBNF syntax and its checking lexer Concerning the generated lexer
Milestone

Comments

@andreasabel
Copy link
Member

$ cat test.cf
Empty2. E ::= Empty;

token Empty [""];

This produces:

So there should be a check for the empty regular expression, like for the nullable one.

@andreasabel andreasabel added lexer Concerning the generated lexer LBNF Concerning the LBNF syntax and its checking labels Oct 5, 2021
@andreasabel andreasabel added this to the 2.9.4 milestone Oct 5, 2021
@andreasabel andreasabel self-assigned this Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LBNF Concerning the LBNF syntax and its checking lexer Concerning the generated lexer
Projects
None yet
Development

No branches or pull requests

1 participant