From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7395 invoked by alias); 25 May 2010 06:26:31 -0000 Received: (qmail 7365 invoked by alias); 25 May 2010 06:26:21 -0000 Date: Tue, 25 May 2010 06:26:00 -0000 Message-ID: <20100525062621.7364.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/18249] C++ parser i18n problems In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pzhao at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-05/txt/msg02810.txt.bz2 ------- Comment #1 from pzhao at gcc dot gnu dot org 2010-05-25 06:26 ------- Subject: Bug 18249 Author: pzhao Date: Tue May 25 06:26:07 2010 New Revision: 159808 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159808 Log: 2010-05-25 Shujing Zhao PR c++/18249 * parser.c: Remove inclusion of dyn-string.h. (non_integral_constant): New enum. (name_lookup_error): New enum. (required_token): New enum. (cp_parser_required_error): New function. (cp_parser_require): Change the type of variable token_desc to required_token and use cp_parser_required_error. (cp_parser_require_keyword): Likewise. (cp_parser_error): Use gmsgid as parameter. (cp_parser_name_lookup_error): Change the type of variable desired to name_lookup_error and put the diagnostic in the full sentences. Change caller. (cp_parser_non_integral_constant_expression): Change the type of the variable thing to non_integral_constant and put the diagnostics in full sentences. Change caller. Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18249