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
This commit is contained in:
Jakub Jelinek 2010-04-06 09:02:40 +02:00 committed by Jakub Jelinek
parent 1ac5e52c11
commit d947ada0a1
2 changed files with 7 additions and 1 deletions

View file

@ -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.

View file

@ -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))