[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: yyerrok is missing in C++ parser
From: |
Joel E. Denny |
Subject: |
Re: yyerrok is missing in C++ parser |
Date: |
Sun, 17 Aug 2008 15:00:59 -0400 (EDT) |
On Tue, 12 Aug 2008, Lucian Smith wrote:
> If I recall correctly, in my own C++ code, I had to have an actual
> grammar line that *used* 'yyerrok' before bison would put the relevant
> code into the .tab.cpp file.
> Similar things happened with yylloc, I believe.
Bison parses semantic actions only well enough to find the closing brace,
to substitute any $ and @ constructs, and to prepare for m4. That is, it
does not check for uses of C constructs like yyerrok and yylloc.
However, the presence of @ does enable location tracking code, so maybe
that's what you're thinking of.
- yyerrok is missing in C++ parser, kogorman, 2008/08/11
- Re: yyerrok is missing in C++ parser, Laurence Finston, 2008/08/11
- Re: yyerrok is missing in C++ parser, kogorman, 2008/08/11
- Re: yyerrok is missing in C++ parser, Laurence Finston, 2008/08/11
- Re: yyerrok is missing in C++ parser, kogorman, 2008/08/11
- Re: yyerrok is missing in C++ parser, Laurence Finston, 2008/08/12
- Re: yyerrok is missing in C++ parser, Joel E. Denny, 2008/08/12
- Re: yyerrok is missing in C++ parser, kogorman, 2008/08/17
- Re: yyerrok is missing in C++ parser, Lucian Smith, 2008/08/14
- Re: yyerrok is missing in C++ parser,
Joel E. Denny <=