aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-10-25 18:39:55 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-10-25 18:39:55 -0400
commitfd12bc82dac2d1074f07cd7ce9e94b4cb7017d1b (patch)
treeab39d6c3e64cce723a52bfb812b2a66a4fd2ca63
parent39efff5b75dea2d58beb07aa7ba5cc52a6595f79 (diff)
downloadgcc-fd12bc82dac2d1074f07cd7ce9e94b4cb7017d1b.zip
gcc-fd12bc82dac2d1074f07cd7ce9e94b4cb7017d1b.tar.gz
gcc-fd12bc82dac2d1074f07cd7ce9e94b4cb7017d1b.tar.bz2
(rescan): ".." no longer terminates a preprocessing number, since
that's incompatible with the C standard. From-SVN: r8339
-rw-r--r--gcc/cccp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cccp.c b/gcc/cccp.c
index 7f3613d..5901f5f3 100644
--- a/gcc/cccp.c
+++ b/gcc/cccp.c
@@ -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;
}