We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Reported by udob on Discord:
I think I found a problem with line comments in grammars. Checkout this example: Arithmetic { Exp = AddExp // line comment OK AddExp = AddExp "+" digit+ -- plus // line comment after caseName FAILED | AddExp "-" digit+ -- minus | digit+ } The second line comment produces a syntax error (expected "}" or "\n"). Changing the line comment to a /* ...*/ makes the error go away.
I think I found a problem with line comments in grammars. Checkout this example:
Arithmetic { Exp = AddExp // line comment OK AddExp = AddExp "+" digit+ -- plus // line comment after caseName FAILED | AddExp "-" digit+ -- minus | digit+ }
The second line comment produces a syntax error (expected "}" or "\n"). Changing the line comment to a /* ...*/ makes the error go away.
The text was updated successfully, but these errors were encountered:
fix #282: single-line comment after case name
a017b18
255693c
No branches or pull requests
Reported by udob on Discord:
The text was updated successfully, but these errors were encountered: