From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29245 invoked by alias); 11 Oct 2011 16:57:24 -0000 Received: (qmail 29234 invoked by uid 22791); 11 Oct 2011 16:57:22 -0000 X-SWARE-Spam-Status: No, hits=-6.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 11 Oct 2011 16:57:09 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p9BGv8Ae023361 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 11 Oct 2011 12:57:09 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p9BGv8Ob018112; Tue, 11 Oct 2011 12:57:08 -0400 Received: from [0.0.0.0] (ovpn-113-114.phx2.redhat.com [10.3.113.114]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p9BGv765023359; Tue, 11 Oct 2011 12:57:07 -0400 Message-ID: <4E947562.5090505@redhat.com> Date: Tue, 11 Oct 2011 17:39:00 -0000 From: Jason Merrill User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20111001 Thunderbird/7.0.1 MIME-Version: 1.0 To: Ed Smith-Rowland <3dw4rd@verizon.net> CC: gcc-patches Subject: Re: [C++-11] User defined literals References: <4E6F6A1C.90305@verizon.net> <4E7008DA.6090703@redhat.com> <4E76FBBB.6050601@verizon.net> <4E77B002.50804@redhat.com> <4E77F549.6000704@verizon.net> <4E78F475.8070303@redhat.com> <4E8C7DF0.9030809@verizon.net> <4E8CC75A.5090900@redhat.com> <4E909588.3000801@verizon.net> <4E90D97F.9060506@redhat.com> <4E922BEF.1080100@verizon.net> <4E947505.3050404@redhat.com> In-Reply-To: <4E947505.3050404@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2011-10/txt/msg00907.txt.bz2 On 10/11/2011 12:55 PM, Jason Merrill wrote: > On 10/09/2011 07:19 PM, Ed Smith-Rowland wrote: >> Does cp_parser_identifier (parser) *not* consume the identifier token? > > I'm pretty sure it does. > > Does it work to only complain if !cp_parser_parsing_tentatively? I suppose not, if you got no complaints with cp_parser_error. Jason