From: Volker Reichelt Date: Thu, 17 Apr 2008 19:43:21 +0000 (+0000) Subject: parser.c (cp_parser_asm_specification_opt): Print CPP_CLOSE_PAREN as `)', not as... X-Git-Tag: prereleases/gcc-4.2.4-rc1~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=095629a6750671ec4b6f2018c55d7d5049bf1a48;p=thirdparty%2Fgcc.git parser.c (cp_parser_asm_specification_opt): Print CPP_CLOSE_PAREN as `)', not as `('. * parser.c (cp_parser_asm_specification_opt): Print CPP_CLOSE_PAREN as `)', not as `('. From-SVN: r134410 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 3727488fcd04..d9687f7ce6d7 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2008-04-17 Volker Reichelt + + * parser.c (cp_parser_asm_specification_opt): Print CPP_CLOSE_PAREN + as `)', not as `('. + 2008-02-19 Jason Merrill PR c++/34950 diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 80761d105d4d..d20087faf269 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -14669,7 +14669,7 @@ cp_parser_asm_specification_opt (cp_parser* parser) asm_specification = cp_parser_string_literal (parser, false, false); /* Look for the `)'. */ - cp_parser_require (parser, CPP_CLOSE_PAREN, "`('"); + cp_parser_require (parser, CPP_CLOSE_PAREN, "%<)%>"); return asm_specification; }