OSDN Git Service

tweak wording
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Feb 2000 20:34:20 +0000 (20:34 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Feb 2000 20:34:20 +0000 (20:34 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31835 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/spew.c
gcc/cp/typeck2.c

index 8d95be6..1fd6eb9 100644 (file)
@@ -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;
index f49398b..6f35b36 100644 (file)
@@ -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.