summaryrefslogtreecommitdiff
path: root/gcc/cpphash.h
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-19 11:59:44 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-19 11:59:44 +0000
commit5bb46c0854b269fe8daad88a7ccf2ca4d1710c8b (patch)
treed205dc47adef09a8364abbb312879df8c18a5aeb /gcc/cpphash.h
parentbbe2d017990bec1f95bb366b86f0e04272bc37d7 (diff)
downloadgcc-5bb46c0854b269fe8daad88a7ccf2ca4d1710c8b.tar.gz
* cpphash.h (struct cpp_reader): New member warned_dollar.
* cpplex.c (continues_identifier_p): New function. (parse_identifier, parse_number, parse_string): Rename lex_identifer, lex_number and lex_string, and simplify. (parse_slow, unescaped_terminator_p): Die. (_cpp_lex_direct): Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65816 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r--gcc/cpphash.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h
index 4b5cd499cf0..a551aadc0f8 100644
--- a/gcc/cpphash.h
+++ b/gcc/cpphash.h
@@ -381,6 +381,10 @@ struct cpp_reader
cpp_token avoid_paste;
cpp_token eof;
+ /* True if we have already warned about dollars in identifiers or
+ numbers for this buffer. */
+ bool warned_dollar;
+
/* Opaque handle to the dependencies of mkdeps.c. */
struct deps *deps;