aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorMatthew Hiller <hiller@gcc.gnu.org>2002-04-24 22:18:25 +0000
committerMatthew Hiller <hiller@gcc.gnu.org>2002-04-24 22:18:25 +0000
commit64cdc38350d29ed0e2d5fa0b4bdd074ec69135dd (patch)
treec295949959dc8ecb1998758d055af141fb272257 /gcc/cpplib.h
parent67f0a6bf0132909f392c07fa5eab27b3e8c6e483 (diff)
downloadgcc-64cdc38350d29ed0e2d5fa0b4bdd074ec69135dd.zip
gcc-64cdc38350d29ed0e2d5fa0b4bdd074ec69135dd.tar.gz
gcc-64cdc38350d29ed0e2d5fa0b4bdd074ec69135dd.tar.bz2
cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS.
2002-04-24 Matt Hiller <hiller@redhat.com> * cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS. * c-lex.c: Ditto. * cpplex.c (skip_line_comment): Process comment one multibyte character at a time rather than one char at a time, if appropriate. (parse_string): Process string one multibyte character at a time rather than one char at a time, if appropriate. * c-lex.c (lex_string): Lex and copy multibyte strings appropriately. * cpplib.h (cppchar_t): Change to unsigned. From-SVN: r52737
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index 359326e..765d65a 100644
--- a/gcc/cpplib.h
+++ b/gcc/cpplib.h
@@ -187,9 +187,9 @@ struct cpp_token
} val;
};
-/* A standalone character. We may want to make it unsigned for the
- same reason we use unsigned char - to avoid signedness issues. */
-typedef int cppchar_t;
+/* A standalone character. It is unsigned for the same reason we use
+ unsigned char - to avoid signedness issues. */
+typedef unsigned int cppchar_t;
/* Values for opts.dump_macros.
dump_only means inhibit output of the preprocessed text