From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18795 invoked by alias); 6 Jan 2003 18:41:41 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 18769 invoked by uid 61); 6 Jan 2003 18:41:37 -0000 Date: Mon, 06 Jan 2003 18:41:00 -0000 Message-ID: <20030106184137.18768.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nathan@codesourcery.com, nathan@gcc.gnu.org From: nathan@gcc.gnu.org Reply-To: nathan@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nathan@codesourcery.com, nathan@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/9109: parse ambiguity X-SW-Source: 2003-01/txt/msg00349.txt.bz2 List-Id: Synopsis: parse ambiguity State-Changed-From-To: analyzed->closed State-Changed-By: nathan State-Changed-When: Mon Jan 6 10:41:28 2003 State-Changed-Why: 2003-01-06 Nathan Sidwell PR c++/9109 * parser.c (cp_parser_declarator_kind): New enum. (cp_parser_declarator): Adjust. (cp_parser_direct_declarator): Adjust. Allow for either named or abstract declarator. Prefer abstract, if possible. Allow parenthesized function name. (cp_parser_condition): Adjust cp_parser_declarator call. (cp_parser_explicit_instantiation): Likewise. (cp_parser_init_declarator): Likewise. (cp_parser_type_id): Likewise. (cp_parser_function_definition): Likewise. (cp_parser_member_declaration): Likewise. (cp_parser_parameter_declaration): Use cp_parser_declarator to do the tentative parsing. (cp_parser_exception_declaration): Likewise. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9109