From: Richard Kenner Date: Wed, 25 Jan 1995 17:48:25 +0000 (-0500) Subject: (handle_directive): Fix typo... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e420a17f71d3bceba073f34cdfd402dbcecdb7a;p=gcc.git (handle_directive): Fix typo... (handle_directive): Fix typo: '\' caused next char to be copied blindly, which was an error if !traditional and if the next char was newline or one of <\'"/. From-SVN: r8804 --- diff --git a/gcc/cccp.c b/gcc/cccp.c index d83fd98026c..a819ace2c21 100644 --- a/gcc/cccp.c +++ b/gcc/cccp.c @@ -3740,7 +3740,7 @@ handle_directive (ip, op) *cp++ = *xp++; SKIP_WHITE_SPACE (xp); } - } else { + } else if (traditional && xp < bp) { *cp++ = *xp++; } break;