aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1997-02-02 06:28:45 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1997-02-02 06:28:45 -0500
commitcd56d9fe1011c5c96d969b7c53e0cde4ce65f60e (patch)
treeca53ed0853a2bfef42d022bd8368a598d3268666 /gcc
parentb11d179015a079ad00e99b1480ed03ed725a4077 (diff)
downloadgcc-cd56d9fe1011c5c96d969b7c53e0cde4ce65f60e.zip
gcc-cd56d9fe1011c5c96d969b7c53e0cde4ce65f60e.tar.gz
gcc-cd56d9fe1011c5c96d969b7c53e0cde4ce65f60e.tar.bz2
(rescan): Insert a space after `.' as well, to prevent accidental token-pasting (e.g.
(rescan): Insert a space after `.' as well, to prevent accidental token-pasting (e.g. `.x' -> `.10'). From-SVN: r13578
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cccp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cccp.c b/gcc/cccp.c
index 93f5c35..da9d812 100644
--- a/gcc/cccp.c
+++ b/gcc/cccp.c
@@ -3414,9 +3414,9 @@ randomchar:
if (!traditional && obp != op->buf) {
switch (obp[-1]) {
case '!': case '%': case '&': case '*':
- case '+': case '-': case '/': case ':':
- case '<': case '=': case '>': case '^':
- case '|':
+ case '+': case '-': case '.': case '/':
+ case ':': case '<': case '=': case '>':
+ case '^': case '|':
/* If we are expanding a macro arg, make a newline marker
to separate the tokens. If we are making real output,
a plain space will do. */