aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-03-17 06:41:06 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-03-17 06:41:06 +0000
commit783e29899b5bbeccf67a8460c0e10d91cb45e2fa (patch)
tree8b2722d0b6eec418537a94d6fbb9ddc51f7ce249 /gcc/cpplib.h
parent72ecfc6033acf7c9294f27fe66d2c8886f1dc86d (diff)
downloadgcc-783e29899b5bbeccf67a8460c0e10d91cb45e2fa.zip
gcc-783e29899b5bbeccf67a8460c0e10d91cb45e2fa.tar.gz
gcc-783e29899b5bbeccf67a8460c0e10d91cb45e2fa.tar.bz2
c-opts.c: Default TARGET_EBCDIC to 0 if not defined.
* 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. From-SVN: r64471
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index 7664b1f..edd521b 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. */