parser.c (cp_parser_diagnose_invalid_type_name): Move the q after the %.
authorAndrew Pinski <pinskia@physics.uc.edu>
Thu, 28 Oct 2004 02:17:46 +0000 (02:17 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Thu, 28 Oct 2004 02:17:46 +0000 (19:17 -0700)
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

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

index 55316040e9e12396b5e8953dd3872e15bb73535e..84a3e4847f7736c1cfbe4b9c72672cfb203bf522 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
        * name-lookup.c (do_namespace_alias): Use FROB_CONTEXT.
index b6e5432c8b035b6267e53245b1ad7475bb7186dc..4cfcf73a659dd3ee9dafa59b6f261e5bff6f2498 100644 (file)
@@ -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",
               id, 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
        gcc_unreachable ();
     }