This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Remove redundant quotes in c-parser.c


Applying to trunk.

2017-05-23  Marek Polacek  <polacek@redhat.com>

	* c-parser.c (c_parser_compound_statement_nostart): Remove redundant
	quotes.

diff --git gcc/c/c-parser.c gcc/c/c-parser.c
index 2e01316..f3bcbee 100644
--- gcc/c/c-parser.c
+++ gcc/c/c-parser.c
@@ -4905,7 +4905,7 @@ c_parser_compound_statement_nostart (c_parser *parser)
           if (parser->in_if_block)
             {
 	      mark_valid_location_for_stdc_pragma (save_valid_for_pragma);
-              error_at (loc, """expected %<}%> before %<else%>");
+	      error_at (loc, "expected %<}%> before %<else%>");
               return;
             }
           else

	Marek


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]