diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2002-05-05 17:05:09 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-05-05 17:05:09 +0000 |
commit | 2443d4e110e88050c438b4db7cba7b47dfb90893 (patch) | |
tree | 97978ba189f956d7357a86c98b15c1b1b5adaa02 /gcc/cpplib.h | |
parent | 791a949fb9c633016bdb00f954979c53b0e75e9a (diff) | |
download | gcc-2443d4e110e88050c438b4db7cba7b47dfb90893.zip gcc-2443d4e110e88050c438b4db7cba7b47dfb90893.tar.gz gcc-2443d4e110e88050c438b4db7cba7b47dfb90893.tar.bz2 |
c-common.c (c_common_init): Set up CPP arithmetic.
* c-common.c (c_common_init): Set up CPP arithmetic.
* cppinit.c (cpp_create_reader): Default CPP arithmetic to
something reasonable for the host.
(sanity_checks): Add checks.
(cpp_read_main_file): Call sanity_checks() from here...
(cpp_post_options): ... not here.
* cpplex.c (cpp_interpret_charconst): Get max_chars right.
* cpplib.h (struct cpp_options): New member int_precision.
testsuite:
* gcc.dg/cpp/charconst.c: Update tests.
From-SVN: r53186
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r-- | gcc/cpplib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h index 72f4884..42eae91 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -251,9 +251,9 @@ struct cpp_options /* -fleading_underscore sets this to "_". */ const char *user_label_prefix; - /* Precision for target CPP arithmetic, target characters and target - wide characters, respectively. */ - size_t precision, char_precision, wchar_precision; + /* 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; |