From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16094 invoked by alias); 28 Sep 2010 17:39:09 -0000 Received: (qmail 16083 invoked by uid 22791); 28 Sep 2010 17:39:08 -0000 X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=AWL,BAYES_05,RCVD_IN_PSBL,SARE_SUB_ENC_UTF8,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 28 Sep 2010 17:39:04 +0000 Received: from eggs.gnu.org ([140.186.70.92]:53044) by fencepost.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1P0e8t-0006lS-4g for gcc-patches@gnu.org; Tue, 28 Sep 2010 13:39:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0e8r-0005Uj-IP for gcc-patches@gnu.org; Tue, 28 Sep 2010 13:39:03 -0400 Received: from smtp171.iad.emailsrvr.com ([207.97.245.171]:42430) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0e8r-0005Ud-Dg for gcc-patches@gnu.org; Tue, 28 Sep 2010 13:39:01 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp47.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id AA6CC3A845D; Tue, 28 Sep 2010 13:39:00 -0400 (EDT) Received: from dynamic12.wm-web.iad.mlsrvr.com (dynamic12.wm-web.iad1a.rsapps.net [192.168.2.219]) by smtp47.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 9418C3A8469; Tue, 28 Sep 2010 13:39:00 -0400 (EDT) Received: from meta-innovation.com (localhost [127.0.0.1]) by dynamic12.wm-web.iad.mlsrvr.com (Postfix) with ESMTP id 6A89C2168082; Tue, 28 Sep 2010 13:39:00 -0400 (EDT) Received: by www2.webmail.us (Authenticated sender: nicola.pero@meta-innovation.com, from: nicola.pero@meta-innovation.com) with HTTP; Tue, 28 Sep 2010 19:39:00 +0200 (CEST) Date: Tue, 28 Sep 2010 22:29:00 -0000 Subject: =?UTF-8?Q?RE:=20ObjC=20patch=20-=20do=20not=20replace=20token->value=20w?= =?UTF-8?Q?ith=20canonical=20spelling?= From: "Nicola Pero" To: "Mike Stump" Cc: gcc-patches@gnu.org MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Type: plain In-Reply-To: <1285108272.842724847@192.168.2.228> References: <1285108272.842724847@192.168.2.228> Message-ID: <1285695540.43523430@192.168.2.229> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2010-09/txt/msg02249.txt.bz2 ping :-) Thanks -----Original Message----- From: "Nicola Pero" Sent: Wednesday, 22 September, 2010 00:31 To: gcc-patches@gnu.org Subject: ObjC patch - do not replace token->value with canonical spelling This one-liner patch removes a difference between the Objective-C=20 and C/C++/Objective-C++ parsers (it's the first of a set of patches=20 - this tiny difference prevents me from moving code around in more=20 interesting patches later, so I want to get it out of the way first) ;-) No regressions. Ok to apply ? Thanks Index: gcc/ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/ChangeLog (revision 164498) +++ gcc/ChangeLog (working copy) @@ -1,3 +1,9 @@ +2010-09-21 Nicola Pero + + * c-parser.c (c_lex_one_token): In Objective-C, do not replace + token->value with the canonical spelling. Do exactly like C and + C++ and leave it as it is. + 2010-09-21 Anatoly Sokolov =20 * config/rs6000/rs6000.h (OUTPUT_ADDR_CONST_EXTRA): Remove macros. Index: gcc/c-parser.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/c-parser.c (revision 164498) +++ gcc/c-parser.c (working copy) @@ -242,8 +242,6 @@ c_lex_one_token (c_parser *parser, c_token *token) && (!OBJC_IS_PQ_KEYWORD (rid_code) || parser->objc_pq_context)) { - /* Return the canonical spelling for this keyword. */ - token->value =3D ridpointers[(int) rid_code]; token->type =3D CPP_KEYWORD; token->keyword =3D rid_code; break;