(rescan): ".." no longer terminates a preprocessing number, since
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 25 Oct 1994 22:39:55 +0000 (18:39 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 25 Oct 1994 22:39:55 +0000 (18:39 -0400)
that's incompatible with the C standard.

From-SVN: r8339

gcc/cccp.c

index 7f3613d874d7adbe668d927a791f9ad6634dab06..5901f5f362f902a99e8a4e08d761843f98702242 100644 (file)
@@ -2934,9 +2934,7 @@ do { ip = &instack[indepth];              \
            ibp += 2;
          }
          c = *ibp++;
-         /* ".." terminates a preprocessing number.  This is useless for C
-            code but useful for preprocessing other things.  */
-         if (!isalnum (c) && (c != '.' || *ibp == '.') && c != '_') {
+         if (!is_idchar[c] && c != '.') {
            --ibp;
            break;
          }