bison-patches
[Top][All Lists]
Advanced

[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:35:48 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

>>> "Bob" == Bob Rossi <address@hidden> writes:

 > OK, the actual type being passed into yyparse is 'struct yypvars *'
 > from seen below.
 >     struct yypvars *ctx = yypvarsinit ();
 >     do {
 >       yychar_set (ctx, yylex ());
 >       yylval_set (ctx, yylval);
 >       yylloc_set (ctx, yylloc);
 >       yyparse (ctx);
 >       status = yyresult_get (ctx);
 >     } while (status == 4);
 >     free (ctx);

No, really!  Please, name this block "yyparse", but the push call is
different.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]