summaryrefslogtreecommitdiff
path: root/gcc/cppmacro.c
diff options
context:
space:
mode:
authorNeil Booth <neilb@earthling.net>2000-11-01 07:32:23 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-11-01 07:32:23 +0000
commit12c4f523b13177e1c2a39d80cf2e62a37b331f93 (patch)
treef65234f942514b168d79dfd9f3c583a40d360ea4 /gcc/cppmacro.c
parent78e7629e9f2b78c8ade485fb2e209427d2696300 (diff)
downloadgcc-12c4f523b13177e1c2a39d80cf2e62a37b331f93.tar.gz
c-parse.in (_yylex): Remove CPP_BACKSLASH case.
* c-parse.in (_yylex): Remove CPP_BACKSLASH case. * cp/spew.c: Similarly. * cpplex.c (_cpp_lex_token): Backslashes are now CPP_OTHER. * cppmacro.c (stringify_arg): Similarly. * cpplib.h (CPP_BACKSLASH): Delete. From-SVN: r37182
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r--gcc/cppmacro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c
index d4bf337db03..fa9d5fd5b05 100644
--- a/gcc/cppmacro.c
+++ b/gcc/cppmacro.c
@@ -386,7 +386,7 @@ stringify_arg (pfile, arg)
dest = cpp_spell_token (pfile, token, dest);
total_len = dest - start;
- if (token->type == CPP_BACKSLASH)
+ if (token->type == CPP_OTHER && token->val.aux == '\\')
backslash_count++;
else
backslash_count = 0;