This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Token cleanup in c-exp.y
- From: Tom Tromey <tromey at redhat dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 25 Aug 2009 09:45:50 -0600
- Subject: Re: [RFA] Token cleanup in c-exp.y
- References: <4A9313C2.3050907@redhat.com>
- Reply-to: tromey at redhat dot com
>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:
Keith> + {".*", DOT_STAR, BINOP_END, 0}
After reading the follow-up comments I realized that this needs a couple
little changes.
The last field should be 1 here, and then the tokentab2 and tokentab3
logic in yylex needs the same cxx_only treatment as ident_tokens.
I suppose that the "::" operator also needs to be C++-only.
I can do this tomorrow, unless you'd prefer to do it.
Tom