projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39efff5
)
(rescan): ".." no longer terminates a preprocessing number, since
author
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 25 Oct 1994 22:39:55 +0000
(18:39 -0400)
committer
Richard 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
patch
|
blob
|
history
diff --git
a/gcc/cccp.c
b/gcc/cccp.c
index 7f3613d874d7adbe668d927a791f9ad6634dab06..5901f5f362f902a99e8a4e08d761843f98702242 100644
(file)
--- 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;
}