diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-04-20 19:02:53 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-04-20 19:02:53 +0000 |
commit | 41c32c985faab94f68575f187800595b95267b4e (patch) | |
tree | c45f57bd819d5e743141ff692c7b88dc8f88a50b /gcc/cpphash.h | |
parent | c6a2438aaf2ceeb137d21d67b00edf27a92104c0 (diff) | |
download | gcc-41c32c985faab94f68575f187800595b95267b4e.tar.gz |
cpphash.h (NOTE_ESC_NL, [...]): Remove.
* 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.
From-SVN: r65860
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. */ |