From cd56d9fe1011c5c96d969b7c53e0cde4ce65f60e Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 2 Feb 1997 06:28:45 -0500 Subject: [PATCH] (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 --- gcc/cccp.c | 6 +++--- 1 file 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. */