Commit 15e779e8 by Richard Kenner

(rescan): Prevent accidental token-pasting to get !=, *=, /=, ==, or ^=.

From-SVN: r9115
parent e4a4d311
...@@ -3324,8 +3324,10 @@ startagain: ...@@ -3324,8 +3324,10 @@ startagain:
before the macro call. */ before the macro call. */
if (!traditional && obp != op->buf) { if (!traditional && obp != op->buf) {
switch (obp[-1]) { switch (obp[-1]) {
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 /* If we are expanding a macro arg, make a newline marker
to separate the tokens. If we are making real output, to separate the tokens. If we are making real output,
a plain space will do. */ a plain space will do. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment