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

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

 > Here is the trouble I've run into. There is an option like this in 
 > the testsuite:
 >   %parse-param {semantic_value *result} %parse-param {int *count}
 > When that is done, apparently bison generates yyparse like this:
 >   int yyparse (semantic_value *result, int *count);
 > However, the push parser defines yyparse like this:
 >   void yyparse (void *PVVOID);

Maybe I'm confused, but I think the names you are using are not the
one that should be used.

Whether push or not push, yyparse should *only* be the full (pull)
parse entry point.

If you want to use the push parser, then she should use a new entry
point, say yypush_token.

reply via email to

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