From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20724 invoked by alias); 20 Dec 2008 17:02:01 -0000 Received: (qmail 20575 invoked by uid 22791); 20 Dec 2008 17:02:00 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 20 Dec 2008 17:01:25 +0000 Received: (qmail 20395 invoked from network); 20 Dec 2008 17:01:23 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 20 Dec 2008 17:01:23 -0000 From: Pedro Alves To: gdb-patches@sourceware.org, Tom Tromey Subject: Re: RFA: add C++ alternate punctuators Date: Sat, 20 Dec 2008 17:02:00 -0000 User-Agent: KMail/1.9.10 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812201701.34129.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-12/txt/msg00358.txt.bz2 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