diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-04-06 09:02:40 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-04-06 09:02:40 +0200 |
commit | d947ada0a1ec824427dc8f0dd3e4211f99302a7c (patch) | |
tree | dc4f1888e210e5f5e139449a4fe37f8cea048374 /libcpp | |
parent | 1ac5e52c11faf61071c86ef197e867e458089f37 (diff) | |
download | gcc-d947ada0a1ec824427dc8f0dd3e4211f99302a7c.zip gcc-d947ada0a1ec824427dc8f0dd3e4211f99302a7c.tar.gz gcc-d947ada0a1ec824427dc8f0dd3e4211f99302a7c.tar.bz2 |
re PR preprocessor/43642 (FAIL: c-c++-common/raw-string-1.c)
PR preprocessor/43642
* lex.c (lex_raw_string): Change type of TYPE variable to
unsigned char.
From-SVN: r157979
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/ChangeLog | 6 | ||||
-rw-r--r-- | libcpp/lex.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index eec40c9..b55d255 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,9 @@ +2010-04-06 Jakub Jelinek <jakub@redhat.com> + + PR preprocessor/43642 + * lex.c (lex_raw_string): Change type of TYPE variable to + unsigned char. + 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * aclocal.m4: Regenerate. diff --git a/libcpp/lex.c b/libcpp/lex.c index 846671d..f299982 100644 --- a/libcpp/lex.c +++ b/libcpp/lex.c @@ -828,7 +828,7 @@ lex_raw_string (cpp_reader *pfile, cpp_token *token, const uchar *base, /* Don't warn about this trigraph in _cpp_process_line_notes, since trigraphs show up as trigraphs in raw strings. */ - unsigned type = note->type; + uchar type = note->type; note->type = 0; if (!CPP_OPTION (pfile, trigraphs)) |