[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: glr.c: Token definitions
From: |
Joel E. Denny |
Subject: |
Re: glr.c: Token definitions |
Date: |
Mon, 19 Sep 2005 09:49:43 -0400 (EDT) |
On Mon, 19 Sep 2005, Akim Demaille wrote:
> I propose that newer skeletons define the tokens only using enums, not
> #defines in addition. That's already the case for C++, but I propose
> that we do the same for glr.c. In practice, it only means to apply
> the following patch. Any objection?
I've been hoping this would happen. I have a C++ project that can
encapsulate either the yacc or GLR global symbols into namespaces. It's
easy to encapsulate yytokentype, but these redundant #define's remain as
global namespace pollution.
Joel