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

Empty comment delimiters make lexer loop #339

Closed
andreasabel opened this issue Feb 3, 2021 · 0 comments
Closed

Empty comment delimiters make lexer loop #339

andreasabel opened this issue Feb 3, 2021 · 0 comments
Labels
comments Concerning the "comment" pragma LBNF Concerning the LBNF syntax and its checking lexer Concerning the generated lexer
Milestone

Comments

@andreasabel
Copy link
Member

BNFC should reject this:

Foo. Bar ::= "bar";

comment "";
comment "" "";

Empty comment delimiters make no sense.

@andreasabel andreasabel added comments Concerning the "comment" pragma lexer Concerning the generated lexer LBNF Concerning the LBNF syntax and its checking labels Feb 3, 2021
@andreasabel andreasabel added this to the 3.0 milestone Feb 3, 2021
@andreasabel andreasabel modified the milestones: 3.0, 2.9.1 Feb 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comments Concerning the "comment" pragma LBNF Concerning the LBNF syntax and its checking lexer Concerning the generated lexer
Projects
None yet
Development

No branches or pull requests

1 participant