This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa] rename p-exp.y's TRUE/FALSE
- From: David Carlton <carlton at math dot stanford dot edu>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com, muller at sources dot redhat dot com, bemis <bemis at iol dot unh dot edu>, clp <clp at iol dot unh dot edu>
- Date: 09 Dec 2002 12:51:10 -0800
- Subject: Re: [rfa] rename p-exp.y's TRUE/FALSE
- References: <3DF217D9.57B25A10@iol.unh.edu><ro14r9nyln7.fsf@jackfruit.Stanford.EDU> <3DF500F7.8050807@redhat.com>
On Mon, 09 Dec 2002 15:45:43 -0500, Andrew Cagney <ac131313@redhat.com> said:
> I'll push this up towards BFD, loosing true/false is one changing,
> `helpfully' defining TRUE/FALSE is a second.
Yah. Especially since the defining is silent, so you might not even
be aware of the problem (as those of us using Bison in this situation
weren't):
typedef int bfd_boolean;
#undef FALSE
#undef TRUE
#define FALSE 0
#define TRUE 1
Oh, for a world without #define...
> (yes, approved)
Thanks, committed.
David Carlton
carlton@math.stanford.edu