summaryrefslogtreecommitdiffstats
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-05 17:05:09 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-05 17:05:09 +0000
commit1893c11a73d4c5844400b36bf555981f8f4a8c76 (patch)
tree97978ba189f956d7357a86c98b15c1b1b5adaa02 /gcc/cpplib.h
parent36d5634576797312ab78df11d85b071cd2004e4c (diff)
downloadppe42-gcc-1893c11a73d4c5844400b36bf555981f8f4a8c76.tar.gz
ppe42-gcc-1893c11a73d4c5844400b36bf555981f8f4a8c76.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53186 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 72f4884e419..42eae9177e7 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;
OpenPOWER on IntegriCloud