summaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2002-05-17 19:37:43 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-05-17 19:37:43 +0000
commitbdcae02bc40594b8e41e7aff7a4b309d41be59c0 (patch)
treef20cac63581f41b6154d0525dd2fbecec4ecddf6 /gcc/cpplib.h
parent0fca60abae8a470b8fa0be07ed10dc44fc2f039d (diff)
downloadgcc-bdcae02bc40594b8e41e7aff7a4b309d41be59c0.tar.gz
c-common.c (c_common_init_options): Use C89 for Objective-C, and set the options flag.
* c-common.c (c_common_init_options): Use C89 for Objective-C, and set the options flag. * cppinit.c (lang_flags): Remove objc. (lang_defaults): Remove OBJC and OBJCXX. (set_lang): Update. (COMMAND_LINE_OPTIONS): Remove -+ and -lang-objc++. (cpp_handle_option): Remove -+ and -lang-objc++. For ObjC, just set a flag. (print_help): Update. * cpplib.h (enum c_lang): Remove CLK_OBJC and CLK_OBJCXX. From-SVN: r53566
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index 9bccda31bc7..378fa7e2e54 100644
--- a/gcc/cpplib.h
+++ b/gcc/cpplib.h
@@ -153,7 +153,7 @@ enum cpp_ttype
/* C language kind, used when calling cpp_reader_init. */
enum c_lang {CLK_GNUC89 = 0, CLK_GNUC99, CLK_STDC89, CLK_STDC94, CLK_STDC99,
- CLK_GNUCXX, CLK_CXX98, CLK_OBJC, CLK_OBJCXX, CLK_ASM};
+ CLK_GNUCXX, CLK_CXX98, CLK_ASM};
/* Payload of a NUMBER, STRING, CHAR or COMMENT token. */
struct cpp_string
@@ -260,7 +260,8 @@ struct cpp_options
/* Nonzero means handle cplusplus style comments */
unsigned char cplusplus_comments;
- /* Nonzero means handle #import, for objective C. */
+ /* Nonzero means define __OBJC__, treat @ as a special token, and
+ use the OBJC[PLUS]_INCLUDE_PATH environment variable. */
unsigned char objc;
/* Nonzero means don't copy comments into the output file. */