diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-09-28 14:29:40 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-09-28 14:29:40 -0400 |
commit | 823a28aa77fff51880e92db9473ae015a2128ab5 (patch) | |
tree | 2af3d34051ce3d6422c7334a6ab6ff1d4bd2d1aa | |
parent | 75fbfd0c125bbde33fd02d07b03f85f944ec9ba2 (diff) | |
download | gcc-823a28aa77fff51880e92db9473ae015a2128ab5.zip gcc-823a28aa77fff51880e92db9473ae015a2128ab5.tar.gz gcc-823a28aa77fff51880e92db9473ae015a2128ab5.tar.bz2 |
(rescan): Expand `#if foo && #bar' without a bogus complaint about preprocessor directives within macro args.
(rescan): Expand `#if foo && #bar' without a bogus complaint about preprocessor
directives within macro args.
Expand `foo' in `foo#bar' without requiring a space before `#'.
From-SVN: r10412
-rw-r--r-- | gcc/cccp.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2770,6 +2770,8 @@ do { ip = &instack[indepth]; \ case '#': if (assertions_flag) { + if (ident_length) + goto specialchar; /* Copy #foo (bar lose) without macro expansion. */ obp[-1] = '#'; /* In case it was '%'. */ SKIP_WHITE_SPACE (ibp); @@ -2783,6 +2785,7 @@ do { ip = &instack[indepth]; \ obp += ip->bufp - ibp; ibp = ip->bufp; } + break; } /* If this is expanding a macro definition, don't recognize |