aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplex.c
diff options
context:
space:
mode:
authorGreg McGary <greg@mcgary.org>2000-08-28 05:51:27 +0000
committerGreg McGary <gkm@gcc.gnu.org>2000-08-28 05:51:27 +0000
commita0bff95ffc4fa6262b6125172e2c5bc0760b46a9 (patch)
treec2ea404c780febc5ce34dcc7dc421c0550edf131 /gcc/cpplex.c
parenta440fd1970ea5eaaca67ac0ce34104eaedd4a596 (diff)
downloadgcc-a0bff95ffc4fa6262b6125172e2c5bc0760b46a9.zip
gcc-a0bff95ffc4fa6262b6125172e2c5bc0760b46a9.tar.gz
gcc-a0bff95ffc4fa6262b6125172e2c5bc0760b46a9.tar.bz2
cpplex.c (parse_string): Don't look for backslash before first char in `namebuf'.
* cpplex.c (parse_string): Don't look for backslash before first char in `namebuf'. * loop.c (strength_reduce): Skip NOTEs. From-SVN: r36015
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r--gcc/cpplex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpplex.c b/gcc/cpplex.c
index c585526..ba53e5c 100644
--- a/gcc/cpplex.c
+++ b/gcc/cpplex.c
@@ -1106,7 +1106,7 @@ parse_string (pfile, list, token, terminator)
if (is_vspace (c))
{
/* Drop a backslash newline, and continue. */
- if (namebuf[-1] == '\\')
+ if (namebuf > list->namebuf && namebuf[-1] == '\\')
{
handle_newline (cur, buffer->rlimit, c);
namebuf--;