Re: yyerrok is missing in C++ parser

2008-08-10 Thread Laurence Finston
> The C examples show using yyerror and the examples compile and run okay. > But my C++ parser > won't compile because (it says) yyerror was not declared in this context. > And when I look at > the generated code, the #define I see in the C scanners is missing. This is > a nuisance; is there >

yyerrok is missing in C++ parser

2008-08-10 Thread kogorman
I'm developing a very simple parser to frontend to an existing C++ board game (named "six"). I'm following the examples as best I can, but my attempts at syntax error handling are failing. The C examples show using yyerror and the examples compile and run okay. But my C++ parser won't compile b