diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-20 19:02:53 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-20 19:02:53 +0000 |
commit | aad4a87f8a5bf06d137f2c4a492612bf4183cc71 (patch) | |
tree | c45f57bd819d5e743141ff692c7b88dc8f88a50b /gcc/cpphash.h | |
parent | 2c129d7022214a9fa3be36ae6764fe9835c8b597 (diff) | |
download | gcc-aad4a87f8a5bf06d137f2c4a492612bf4183cc71.tar.gz |
* cpphash.h (NOTE_ESC_NL, NOTE_ESC_SPACE_NL, NOTE_TRIGRAPH,
NOTE_NEWLINE): Remove.
* cpplex.c (_cpp_clean_line, _cpp_process_line_notes): Update
to handle new form of line note type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65860 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r-- | gcc/cpphash.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h index 4eee9426a76..6e17226def9 100644 --- a/gcc/cpphash.h +++ b/gcc/cpphash.h @@ -243,11 +243,10 @@ struct _cpp_line_note /* Location in the clean line the note refers to. */ const uchar *pos; - /* Type of note. */ - enum { NOTE_ESC_NL = 0, - NOTE_ESC_SPACE_NL, - NOTE_TRIGRAPH, - NOTE_NEWLINE } type; + /* Type of note. The 9 'from' trigraph characters represent those + trigraphs, '\\' an escaped newline, ' ' an escaped newline with + intervening space, and anything else is invalid. */ + unsigned int type; }; /* Represents the contents of a file cpplib has read in. */ |