This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: add C++ alternate punctuators
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org, Tom Tromey <tromey at redhat dot com>
- Date: Sat, 20 Dec 2008 17:01:33 +0000
- Subject: Re: RFA: add C++ alternate punctuators
- References: <m3ljuaet5j.fsf@fleche.redhat.com>
On Saturday 20 December 2008 15:57:28, Tom Tromey wrote:
> C++ has alternate spellings for some operators. This patch adds
> support for them to the C lexer.
>
> Rather than add a bunch of new code to the switch, I followed the
> comment's advice and used a table.
>
> Built and regtested on x86-64 (compile farm).
> New test case included.
>
> Please review.
Looks pretty good to me.
--
Pedro Alves