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
The following grammar works with bnfc -c or --cpp but does not build with haskell
Prog. Program ::= Defin ; Pe. Program ::= "" ; Def. Defin ::= "woo" ;
It will generate files but when trying to make I get the following: % make happy -gca ParTest.y alex -g LexTest.x LexTest.x:25:3: parse error
The text was updated successfully, but these errors were encountered:
BNFC chokes on empty terminals. If you want an empty production do this instead:
Prog. Program ::= Defin ; Pe. Program ::= ; Def. Defin ::= "woo" ;
Sorry, something went wrong.
Fixed in a3a4149.
No branches or pull requests
The following grammar works with bnfc -c or --cpp but does not build with haskell
Prog. Program ::= Defin ;
Pe. Program ::= "" ;
Def. Defin ::= "woo" ;
It will generate files but when trying to make I get the following:
% make
happy -gca ParTest.y
alex -g LexTest.x
LexTest.x:25:3: parse error
The text was updated successfully, but these errors were encountered: