diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-02-02 11:28:45 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-02-02 11:28:45 +0000 |
commit | 2cb082b2f10ce5b298c01260fe882d6c9ea9cf61 (patch) | |
tree | ca53ed0853a2bfef42d022bd8368a598d3268666 /gcc/cccp.c | |
parent | 1e72cf8ea187811f58671c4c0659285da301fb84 (diff) | |
download | gcc-2cb082b2f10ce5b298c01260fe882d6c9ea9cf61.tar.gz |
(rescan): Insert a space after `.' as well, to prevent accidental
token-pasting (e.g. `.x' -> `.10').
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13578 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cccp.c')
-rw-r--r-- | gcc/cccp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cccp.c b/gcc/cccp.c index 93f5c355c47..da9d812cf52 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. */ |