From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29025 invoked by alias); 25 Aug 2009 15:46:06 -0000 Received: (qmail 28981 invoked by uid 22791); 25 Aug 2009 15:46:01 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_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, 25 Aug 2009 15:45:56 +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.13.8/8.13.8) with ESMTP id n7PFjqPF011441 for ; Tue, 25 Aug 2009 11:45:52 -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 n7PFjplU000564; Tue, 25 Aug 2009 11:45:52 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n7PFjolH022408; Tue, 25 Aug 2009 11:45:51 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 8F32937820A; Tue, 25 Aug 2009 09:45:50 -0600 (MDT) From: Tom Tromey To: Keith Seitz Cc: gdb-patches@sourceware.org Subject: Re: [RFA] Token cleanup in c-exp.y References: <4A9313C2.3050907@redhat.com> Reply-To: tromey@redhat.com Date: Tue, 25 Aug 2009 15:47:00 -0000 In-Reply-To: <4A9313C2.3050907@redhat.com> (Keith Seitz's message of "Mon, 24 Aug 2009 15:27:14 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2009-08/txt/msg00419.txt.bz2 >>>>> "Keith" == Keith Seitz 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