On Tue, Sep 12, 2006 at 02:54:22PM -0700, Paul Eggert wrote:
> Bob Rossi <[EMAIL PROTECTED]> 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