Commit 9e92edb4 by Richard Kenner

(rescan): Don't expand an identifier after a '#'.

From-SVN: r5611
parent 99f4f5b7
......@@ -2465,6 +2465,15 @@ do { ip = &instack[indepth]; \
break;
}
++obp; /* Copy the '#' after all */
/* Don't expand an identifier that could be a macro directive.
(Section 3.8.3 of the ANSI C standard) */
SKIP_WHITE_SPACE (ibp);
if (is_idstart[*ibp])
{
*obp++ = *ibp++;
while (is_idchar[*ibp])
*obp++ = *ibp++;
}
goto randomchar;
}
#ifdef USE_C_ALLOCA
......
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