[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: push parser implemenation
From: |
Akim Demaille |
Subject: |
Re: push parser implemenation |
Date: |
Thu, 14 Sep 2006 11:19:49 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
>>> "Bob" == Bob Rossi <address@hidden> writes:
>> > 3. yychar, yylval, yynerrs, and yylloc (external parser variables)
>> > These variables remain external in the default parser. However, in
>> > the pure and push parser they go in the struct yypvars. So, I'm
>> > currently making accessor functions to access them. I currently only
>> > have:
>> > int get_yyresult (void *PVVOID);
>> > void set_yychar (void *PVVOID, int yychar);
>> > because they are the only 2 I need. However, should I just generate
>> > all 4 pairs of set/get functions for yychar, yylval, yynerrs, and
>> > yylloc?
>>
>> I'd just generate the ones you need for now. However, their names
>> should start with yy to avoid namespace collision.
> Got it. that's done.
I don't want to be a pain in the neck, but I like
yychar_set, yychar_get etc.
instead of
yyget_char etc.
- Re: push parser implemenation, (continued)
- Re: push parser implemenation, Akim Demaille, 2006/09/14
- Re: push parser implemenation, Akim Demaille, 2006/09/14
- Re: push parser implemenation, Bob Rossi, 2006/09/14
- Re: push parser implemenation, Akim Demaille, 2006/09/14
- Re: push parser implemenation, Akim Demaille, 2006/09/14
- Re: push parser implemenation, Paul Eggert, 2006/09/14
- Re: push parser implemenation, Akim Demaille, 2006/09/14
- Re: push parser implemenation,
Akim Demaille <=
- Re: push parser implemenation, Bob Rossi, 2006/09/14
Re: push parser implemenation, Bob Rossi, 2006/09/07
Re: push parser implemenation, Bob Rossi, 2006/09/07
Re: push parser implemenation, Akim Demaille, 2006/09/14
Re: push parser implemenation, Akim Demaille, 2006/09/14