Commit f4a4b669 by Jason Merrill

tweak wording

From-SVN: r31835
parent 981cb437
...@@ -301,8 +301,8 @@ yylex () ...@@ -301,8 +301,8 @@ yylex ()
case PTYPENAME: case PTYPENAME:
lastiddecl = trrr; lastiddecl = trrr;
/* If this got special lookup, remember it. In these cases, /* If this got special lookup, remember it. In these
we don't have to worry about being a declarator-id. */ cases, we know it can't be a declarator-id. */
if (got_scope || got_object) if (got_scope || got_object)
tmp_token.yylval.ttype = trrr; tmp_token.yylval.ttype = trrr;
break; break;
......
...@@ -1462,7 +1462,7 @@ check_for_new_type (string, inptree) ...@@ -1462,7 +1462,7 @@ check_for_new_type (string, inptree)
{ {
if (inptree.new_type_flag if (inptree.new_type_flag
&& (pedantic || strcmp (string, "cast") != 0)) && (pedantic || strcmp (string, "cast") != 0))
pedwarn ("ISO C++ forbids defining types within %s",string); pedwarn ("ISO C++ forbids defining types within %s", string);
} }
/* Add new exception specifier SPEC, to the LIST we currently have. /* Add new exception specifier SPEC, to the LIST we currently have.
......
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