[Top][All Lists]

[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: Tue, 12 Sep 2006 14:54:22 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

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.

reply via email to

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