bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: push parser implemenation


From: Paul Eggert
Subject: Re: push parser implemenation
Date: Thu, 14 Sep 2006 11:57:34 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Bob Rossi <address@hidden> writes:

> Do you like the name yypushparse ()?

Sounds good to me.

> How should I handle the %parse-param option in %push-parser mode? Should
> the yyparse () function and the yypushparse () function both accept the
> %parse-param arguments?

Sorry, I don't understand the issue well, but if both kinds of parsers
are likely to want to accept user-defined arguments in order to do
their work, then I suppose they'll both need to support %parse-param
similarly.

If you think it unlikely that a push parser would ever need to have
%parse-param, then you can instead cause an error message to be
generated if %parse-param is specified with a push parser; we can add
the feature later if it turns out we were wrong.




reply via email to

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