help-bison
[Top][All Lists]
Advanced

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

Re: RFC: enum instead of #define for tokens


From: Miles Bader
Subject: Re: RFC: enum instead of #define for tokens
Date: 04 Apr 2002 10:36:44 +0900

Paul Eggert <address@hidden> writes:
> > I have seen patches from Jim Blandy to enable macros debugging in gdb.
> 
> Didn't know that.  That reduces the priority of using enums for bison.

I think the most useful thing about using enums would be that GDB would
_print_ the enum name for appropriate values, and there's no way that
GDB could do that with macros (even if it is changed to be able to
evaluate them).

-Miles
-- 
I'd rather be consing.



reply via email to

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