diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-07 21:07:24 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-07 21:07:24 +0000 |
commit | d932f956c4531df74bdf96538013680d7968599f (patch) | |
tree | 74df1638e099a3467f9206ea84d1ec4945ea2b23 /gcc/cpplib.h | |
parent | 1744f6712e140e7ab2694a0257734539c5088bbe (diff) | |
download | gcc-d932f956c4531df74bdf96538013680d7968599f.tar.gz |
* c-common.c (c_common_init): Set options->unsigned_wchar.
* cppinit.c (cpp_create_reader): Default unsigned_wchar,
group target dependencies.
(init_builtins, cpp_handle_option): Update.
* cpplex.c (cpp_interpret_charconst): Update.
* cpplib.h (struct cpp_options): Add unsigned_wchar, rename
signed_char to unsigned_char, group target dependencies.
* defaults.h (WCHAR_UNSIGNED): Remove.
* system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison.
config:
* freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h,
i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h,
i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h,
i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h,
sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED.
doc:
* tm.texi: Remove MAX_CHAR_TYPE_SIZE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53271 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r-- | gcc/cpplib.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h index ca0eee2bd63..1b7da3794f3 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -251,19 +251,12 @@ struct cpp_options /* -fleading_underscore sets this to "_". */ const char *user_label_prefix; - /* Precision for target CPP arithmetic, target characters, target - ints and target wide characters, respectively. */ - size_t precision, char_precision, int_precision, wchar_precision; - /* The language we're preprocessing. */ enum c_lang lang; /* Non-0 means -v, so print the full set of include dirs. */ unsigned char verbose; - /* Nonzero means chars are signed. */ - unsigned char signed_char; - /* Nonzero means use extra default include directories for C++. */ unsigned char cplusplus; @@ -395,6 +388,15 @@ struct cpp_options options. Stand-alone CPP should then bail out after option parsing; drivers might want to continue printing help. */ unsigned char help_only; + + /* Target-specific features set by the front end or client. */ + + /* Precision for target CPP arithmetic, target characters, target + ints and target wide characters, respectively. */ + size_t precision, char_precision, int_precision, wchar_precision; + + /* Nonzero means chars (wide chars) are unsigned. */ + unsigned char unsigned_char, unsigned_wchar; }; /* Call backs. */ |