summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/cp/spew.c4
-rw-r--r--gcc/cp/typeck2.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/spew.c b/gcc/cp/spew.c
index 8d95be650bd..1fd6eb969dd 100644
--- a/gcc/cp/spew.c
+++ b/gcc/cp/spew.c
@@ -301,8 +301,8 @@ yylex ()
case PTYPENAME:
lastiddecl = trrr;
- /* If this got special lookup, remember it. In these cases,
- we don't have to worry about being a declarator-id. */
+ /* If this got special lookup, remember it. In these
+ cases, we know it can't be a declarator-id. */
if (got_scope || got_object)
tmp_token.yylval.ttype = trrr;
break;
diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c
index f49398b84a4..6f35b3633ac 100644
--- a/gcc/cp/typeck2.c
+++ b/gcc/cp/typeck2.c
@@ -1462,7 +1462,7 @@ check_for_new_type (string, inptree)
{
if (inptree.new_type_flag
&& (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.
OpenPOWER on IntegriCloud