Commit 2fbe4889 by Andrew Pinski Committed by Andrew Pinski

parser.c (cp_parser_diagnose_invalid_type_name): Move the q after the %.

2004-10-27  Andrew Pinski  <pinskia@physics.uc.edu>

        * parser.c (cp_parser_diagnose_invalid_type_name): Move the q after
        the %.

From-SVN: r89727
parent 5536e07d
2004-10-27 Andrew Pinski <pinskia@physics.uc.edu>
* parser.c (cp_parser_diagnose_invalid_type_name): Move the q after
the %.
2004-10-26 Mark Mitchell <mark@codesourcery.com> 2004-10-26 Mark Mitchell <mark@codesourcery.com>
* name-lookup.c (do_namespace_alias): Use FROB_CONTEXT. * name-lookup.c (do_namespace_alias): Use FROB_CONTEXT.
......
...@@ -2008,7 +2008,7 @@ cp_parser_diagnose_invalid_type_name (cp_parser *parser, tree scope, tree id) ...@@ -2008,7 +2008,7 @@ cp_parser_diagnose_invalid_type_name (cp_parser *parser, tree scope, tree id)
error ("%qE in namespace %qE does not name a type", error ("%qE in namespace %qE does not name a type",
id, parser->scope); id, parser->scope);
else if (TYPE_P (parser->scope)) else if (TYPE_P (parser->scope))
error ("q%E in class %qT does not name a type", id, parser->scope); error ("%qE in class %qT does not name a type", id, parser->scope);
else else
gcc_unreachable (); gcc_unreachable ();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment