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.


Reply via email to