bison-patches
[Top][All Lists]
Advanced

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

Re: push parser implemenation


From: Bob Rossi
Subject: Re: push parser implemenation
Date: Tue, 12 Sep 2006 18:16:02 -0400
User-agent: Mutt/1.5.11

On Tue, Sep 12, 2006 at 02:54:22PM -0700, Paul Eggert wrote:
> Bob Rossi <address@hidden> writes:
> 
> > I can make yyparse look like:
> >   void yyparse (struct yypvars *YYPVARS);
> >
> > However, the type 'struct yypvars' will not be visible in the users
> > parser if they simply include calc.h (the bison header file).
> 
> What's the harm of having Bison generate a line "struct yypvars;"
> (with no body) into the Bison-generated header file?  It's a no-op if
> the structure is already declared, and a forward reference otherwise.

OK, I like that idea. I'll try to get that working, and then everything
else should fall into place. Thanks for the advice.

Bob Rossi




reply via email to

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