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 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