aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorNeil Booth <neil@gcc.gnu.org>2002-08-11 07:32:19 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-08-11 07:32:19 +0000
commitb4a93904915748680a5e7ba1fc78e78a8eb10e72 (patch)
treed73a75baf01dafc07eb90997c31af2280b21f9a0 /gcc/c-common.h
parent982f35d62b68f23a8f84e39b2a6302bf2d8c2b19 (diff)
downloadgcc-b4a93904915748680a5e7ba1fc78e78a8eb10e72.zip
gcc-b4a93904915748680a5e7ba1fc78e78a8eb10e72.tar.gz
gcc-b4a93904915748680a5e7ba1fc78e78a8eb10e72.tar.bz2
c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
* c-common.h (enum c_language_kind): Emphasize that clk_c is 0. * c-opts.c (parse_option): Rename find_opt. (set_std_c99): New function. (COMMAND_LINE_OPTIONS): Handle -remap and -o. Remove OPT_std_bad. (missing_arg): Remove OPT_std_bad. Handle -o. (c_common_decode_option): Handle input and output file names, -o and -remap. Clean up -std= handling. * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap. (cpp_handle_option): Similarly. Don't handle filenames. From-SVN: r56197
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index 63a6837..989c908 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -238,8 +238,7 @@ extern GTY(()) tree c_global_trees[CTI_MAX];
typedef enum c_language_kind
{
- clk_c, /* A dialect of C: K&R C, ANSI/ISO C89, C2000,
- etc. */
+ clk_c = 0, /* A dialect of C: K&R C, ANSI/ISO C89, C2000, etc. */
clk_cplusplus /* ANSI/ISO C++ */
}
c_language_kind;