diff options
author | Jason Merrill <jason@redhat.com> | 2010-03-29 16:07:29 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2010-03-29 16:07:29 -0400 |
commit | 00a81b8b9daf54a09bf535734944d740bfa4ed4b (patch) | |
tree | 84b8a4bdf2073b4abe400607bab3f439398a212c /libcpp/internal.h | |
parent | 0591d33ecce39bc9d1b5871f98863de70f28c898 (diff) | |
download | gcc-00a81b8b9daf54a09bf535734944d740bfa4ed4b.zip gcc-00a81b8b9daf54a09bf535734944d740bfa4ed4b.tar.gz gcc-00a81b8b9daf54a09bf535734944d740bfa4ed4b.tar.bz2 |
More N3077 raw string changes
More N3077 raw string changes
* charset.c (cpp_interpret_string): Don't transform UCNs in raw
strings.
* lex.c (bufring_append): Split out from...
(lex_raw_string): ...here. Undo trigraph and line splicing
transformations. Do process line notes in multi-line literals.
(_cpp_process_line_notes): Ignore notes that were already handled.
From-SVN: r157804
Diffstat (limited to 'libcpp/internal.h')
-rw-r--r-- | libcpp/internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcpp/internal.h b/libcpp/internal.h index 555874c..9209b55 100644 --- a/libcpp/internal.h +++ b/libcpp/internal.h @@ -240,7 +240,8 @@ struct _cpp_line_note /* 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. */ + intervening space, 0 represents a note that has already been handled, + and anything else is invalid. */ unsigned int type; }; |