From 095629a6750671ec4b6f2018c55d7d5049bf1a48 Mon Sep 17 00:00:00 2001 From: Volker Reichelt Date: Thu, 17 Apr 2008 19:43:21 +0000 Subject: [PATCH] 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 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/parser.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; } -- 2.47.2