diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-17 06:41:06 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-17 06:41:06 +0000 |
commit | 65a6d98ce28508fb8b59e298e43cd39c26bb96ab (patch) | |
tree | 8b2722d0b6eec418537a94d6fbb9ddc51f7ce249 /gcc/cpplib.h | |
parent | 3289939f014324197752d67b58e7c2bf0711b8bd (diff) | |
download | gcc-65a6d98ce28508fb8b59e298e43cd39c26bb96ab.tar.gz |
* c-opts.c: Default TARGET_EBCDIC to 0 if not defined.
(c_common_init): Set EBCDIC in cpp options.
* cpplex.c (maybe_read_ucs, cpp_parse_escape): Use EBCDIC option,
not conditional compilation.
* cpplib.h (struct cpp_options): New entry EBCDIC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64471 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r-- | gcc/cpplib.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h index 7664b1f1379..edd521b041e 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -329,6 +329,12 @@ struct cpp_options /* True for traditional preprocessing. */ unsigned char traditional; + /* True to warn about precompiled header files we couldn't use. */ + bool warn_invalid_pch; + + /* True if dependencies should be restored from a precompiled header. */ + bool restore_pch_deps; + /* Dependency generation. */ struct { @@ -355,14 +361,11 @@ struct cpp_options /* True means chars (wide chars) are unsigned. */ bool unsigned_char, unsigned_wchar; + /* True if target is EBCDIC. */ + bool EBCDIC; + /* Nonzero means __STDC__ should have the value 0 in system headers. */ unsigned char stdc_0_in_system_headers; - - /* True to warn about precompiled header files we couldn't use. */ - bool warn_invalid_pch; - - /* True if dependencies should be restored from a precompiled header. */ - bool restore_pch_deps; }; /* Call backs. */ |