]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
parser.c (cp_parser_asm_specification_opt): Print CPP_CLOSE_PAREN as `)', not as...
authorVolker Reichelt <v.reichelt@netcologne.de>
Thu, 17 Apr 2008 19:43:21 +0000 (19:43 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Thu, 17 Apr 2008 19:43:21 +0000 (19:43 +0000)
* parser.c (cp_parser_asm_specification_opt): Print CPP_CLOSE_PAREN
as `)', not as `('.

From-SVN: r134410

gcc/cp/ChangeLog
gcc/cp/parser.c

index 3727488fcd040719a863b806b3a5608de7290162..d9687f7ce6d75713c3ca800b10df6e71bcef7ac8 100644 (file)
@@ -1,3 +1,8 @@
+2008-04-17  Volker Reichelt  <v.reichelt@netcologne.de>
+
+       * parser.c (cp_parser_asm_specification_opt): Print CPP_CLOSE_PAREN
+       as `)', not as `('.
+
 2008-02-19  Jason Merrill  <jason@redhat.com>
 
        PR c++/34950
index 80761d105d4d7261af3a1ecc6a6544c6f55f8b1a..d20087faf269b4727031ad423f0e54247f2bfa24 100644 (file)
@@ -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;
 }