bison-patches
[Top][All Lists]
Advanced

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

Re: glr: include the created header


From: Joel E. Denny
Subject: Re: glr: include the created header
Date: Fri, 2 Dec 2005 20:44:50 -0500 (EST)

On Sat, 12 Nov 2005, Akim Demaille wrote:

It makes my life significantly easier, and avoids code
duplication, if glr.c could include its header file instead
of open coding the declarations of the tokens, stype and ltype.
It will also make it easier to export declarations such as
yyparse's.

Did you intend for b4_pre_prologue to appear in b4_shared_declarations? I didn't expect to see my prologues in my header file. This can lead to unexpected pollution of the namespace of the #includer, and it's inconsistent with yacc.c at least.

Joel




reply via email to

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