Nothing Special   »   [go: up one dir, main page]

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

C/C++/Java: Wrong lexer representation of eps #290

Closed
andreasabel opened this issue Jan 27, 2020 · 0 comments
Closed

C/C++/Java: Wrong lexer representation of eps #290

andreasabel opened this issue Jan 27, 2020 · 0 comments
Assignees
Labels
bug C++ C Java lexer Concerning the generated lexer
Milestone

Comments

@andreasabel
Copy link
Member
Foo. Main ::= Empty;
token Empty eps;

The regex eps (match the empty sequence) seems to be translated to [^.] for Flex and JLex. But this is the translation of 0, a regular expression not matching anything.

@andreasabel andreasabel added bug C++ C Java lexer Concerning the generated lexer labels Jan 27, 2020
@andreasabel andreasabel self-assigned this Jan 27, 2020
@andreasabel andreasabel added this to the 2.8.4 milestone Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug C++ C Java lexer Concerning the generated lexer
Projects
None yet
Development

No branches or pull requests

1 participant