Re: yyerrok is missing in C++ parser

2008-08-11 Thread Laurence Finston
On Mon, 11 Aug 2008, kogorman wrote: > Laurence Finston wrote: > > Nope, I grep for yyerrok on all files in the directory, and see only my own > code and > things directly generated from it. I do not see a #define or other > definiton. > Did you do this from the code I included, or some of you

Re: yyerrok is missing in C++ parser

2008-08-11 Thread kogorman
Laurence Finston wrote: > > On Mon, 11 Aug 2008, kogorman wrote: > >> >> All this is true, but beside the point. What's missing is yyerrok, not >> yyerror. > > This is what you wrote: > >> >> But my C++ parser >> >> won't compile because (it says) yyerror was not declared in this >> context

Re: yyerrok is missing in C++ parser

2008-08-11 Thread Laurence Finston
On Mon, 11 Aug 2008, kogorman wrote: > > All this is true, but beside the point. What's missing is yyerrok, not > yyerror. This is what you wrote: > >> But my C++ parser > >> won't compile because (it says) yyerror was not declared in this context. > I've got the required yyerror and yylex.

Re: yyerrok is missing in C++ parser

2008-08-11 Thread kogorman
All this is true, but beside the point. What's missing is yyerrok, not yyerror. I've got the required yyerror and yylex. I'm using a C++ setup because I don't want to mix FILE* and C++ streams, and just because it seems the Right Thing To Do (TM). ++ kevin Laurence Finston wrote: > >> The