OSDN Git Service

PR preprocessor/43642
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Apr 2010 07:02:40 +0000 (07:02 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:16:37 +0000 (14:16 +0900)
* lex.c (lex_raw_string): Change type of TYPE variable to
unsigned char.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157979 138bc75d-0d04-0410-961f-82ee72b054a4

libcpp/ChangeLog
libcpp/lex.c

index eec40c9..b55d255 100644 (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.
index 621b9a6..f628272 100644 (file)
@@ -831,7 +831,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))