[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: push parser
From: |
Joel E. Denny |
Subject: |
Re: push parser |
Date: |
Mon, 18 Dec 2006 15:04:42 -0500 (EST) |
On Mon, 18 Dec 2006, Bob Rossi wrote:
> I don't understand. Why would we want impure push parsers?
In the long list at the end of the email, please read point #3.
> I noticed that you changed the calc tests to only call yyparse,
> shouldn't we be testing the yypush_parse function still?
yyparse calls yypull_parse, which calls yypush_parse in nearly the same
manner as your tests did.
> When I apply your patch, I get in gdbmi_grammer.tab.h this prototype,
> int gdbmi_push_parse (gdbmi_pstate *yyps);
> this no longer allows me to work with the push parser they way I used
> to.
The impure interface uses global variables for communication with the
scanner: yychar, yylloc, and yylval. If you want the pure interface, you
must declare %pure-parser.
- Re: push parser, (continued)
- Re: push parser, Joel E. Denny, 2006/12/15
- Message not available
- Message not available
- Re: push parser, Bob Rossi, 2006/12/16
- Re: push parser, Joel E. Denny, 2006/12/16
- Re: push parser, Bob Rossi, 2006/12/16
- Re: push parser, Bob Rossi, 2006/12/17
- Re: push parser, Paul Eggert, 2006/12/16
- Re: push parser, Joel E. Denny, 2006/12/16
- Re: push parser, Bob Rossi, 2006/12/16
- Re: push parser, Joel E. Denny, 2006/12/18
- Re: push parser, Bob Rossi, 2006/12/18
- Re: push parser,
Joel E. Denny <=
- Re: push parser, Bob Rossi, 2006/12/18
- Re: push parser, Paul Eggert, 2006/12/18
- Re: push parser, Joel E. Denny, 2006/12/18
- Re: push parser, Paul Eggert, 2006/12/18
- Re: push parser, Joel E. Denny, 2006/12/18
- Re: push parser, Joel E. Denny, 2006/12/18
- Re: push parser, Joel E. Denny, 2006/12/18
- Re: push parser, Joel E. Denny, 2006/12/19
- Re: push parser, Joel E. Denny, 2006/12/19
- Re: push parser, Paul Eggert, 2006/12/19