summaryrefslogtreecommitdiff
path: root/gcc/cppmacro.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-01 07:32:23 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-01 07:32:23 +0000
commit3f90a9203719c5589b2d0ae2b6f933054b8faabe (patch)
treef65234f942514b168d79dfd9f3c583a40d360ea4 /gcc/cppmacro.c
parent17f5ea874265fddbd7c9fcaf2ff8d5b2d5b813fb (diff)
downloadgcc-3f90a9203719c5589b2d0ae2b6f933054b8faabe.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37182 138bc75d-0d04-0410-961f-82ee72b054a4
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;