diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-08 22:22:49 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-08 22:22:49 +0000 |
commit | 89b05ef66b722de750cfaf72e59925dbd9d523ea (patch) | |
tree | b43d16681659989af0773735f517b068f63f272f /gcc/cpplib.h | |
parent | af01c58e1dc5e4e3a8f8cc05cb4fa7e77b7088b2 (diff) | |
download | gcc-89b05ef66b722de750cfaf72e59925dbd9d523ea.tar.gz |
* cpplex.c (spell_token): New function.
(TOKEN_LEN): Add 1 for whitespace.
(_cpp_lex_file): Update to use spell_token.
* cpplib.h (E): Remove.
(TTYPE_TABLE): Update CPP_VSPACE entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33777 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r-- | gcc/cpplib.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h index 0a9b6af3a8c..17cc239ad5a 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -123,7 +123,7 @@ typedef struct cpp_name cpp_name; H(CPP_CHILL_COMMENT, spell_comment) /* Only if output comments. */ \ N(CPP_MACRO_ARG, 0) /* Macro argument. */ \ N(CPP_SUBLIST, 0) /* Sublist. */ \ - E(CPP_VSPACE, "\n") /* End of line. */ \ + T(CPP_VSPACE, "\n") /* End of line. */ \ N(CPP_EOF, 0) /* End of file. */ \ N(CPP_HEADER_NAME, 0) /* <stdio.h> in #include */ \ N(CPP_ASSERTION, 0) /* (...) in #assert */ \ @@ -138,7 +138,6 @@ typedef struct cpp_name cpp_name; #define H(e, s) e, #define C(e, s) e, #define N(e, s) e, -#define E(e, s) e, enum cpp_ttype { TTYPE_TABLE @@ -148,7 +147,6 @@ enum cpp_ttype #undef H #undef C #undef N -#undef E /* Payload of a NAME, NUMBER, FLOAT, STRING, or COMMENT token. */ struct cpp_name |