summaryrefslogtreecommitdiffstats
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorhiller <hiller@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-24 22:18:25 +0000
committerhiller <hiller@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-24 22:18:25 +0000
commit497bb0230ff301fae31e259a009994db1cbf0bb4 (patch)
treec295949959dc8ecb1998758d055af141fb272257 /gcc/cpplib.h
parent78b4b656197c9032cd5a2735e7ec85d125685f41 (diff)
downloadppe42-gcc-497bb0230ff301fae31e259a009994db1cbf0bb4.tar.gz
ppe42-gcc-497bb0230ff301fae31e259a009994db1cbf0bb4.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52737 138bc75d-0d04-0410-961f-82ee72b054a4
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 359326e0138..765d65a3869 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
OpenPOWER on IntegriCloud