diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-16 05:47:07 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-16 05:47:07 +0000 |
commit | 837277abb06f9450177070657d8aa67bfd21643b (patch) | |
tree | 67395c06dd702d1671de8501d39fbe92f55618bd /gcc/opts.h | |
parent | 88c1b63cdbc13c27b7cf9805f5a397b45596228f (diff) | |
download | gcc-837277abb06f9450177070657d8aa67bfd21643b.tar.gz |
* c-opts.c (c_common_handle_option): s/on/value/.
(OPT_fabi_version_, OPT_ftabstop_, OPT_ftemplate_depth_): Use value
directly rather than converting the argument.
* c.opt: Update docs. Use UInteger where appropriate.
* common.opt: Use UInteger where appropriate.
* opts.c (integral_argument): New.
(handle_argument): Handle integral arguments, and optional
joined arguments.
(common_handle_option): Update.
* opts.h (CL_MISSING_OK, CL_UINTEGER): New.
* opts.sh: Handle JoinedOrMissing and UInteger flags.
java:
* lang.c (java_handle_option): Special-casing of optional
joined arguments no longer needed.
* lang.opt: Update switches that take optional argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67999 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.h')
-rw-r--r-- | gcc/opts.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/opts.h b/gcc/opts.h index 31c6e8e7f31..abb3963e45c 100644 --- a/gcc/opts.h +++ b/gcc/opts.h @@ -36,6 +36,8 @@ extern const unsigned int cl_options_count; #define CL_JOINED (1 << 24) /* If takes joined argument. */ #define CL_SEPARATE (1 << 25) /* If takes a separate argument. */ #define CL_REJECT_NEGATIVE (1 << 26) /* Reject no- form. */ -#define CL_COMMON (1 << 27) /* Language-independent. */ +#define CL_MISSING_OK (1 << 27) /* Missing argument OK (joined). */ +#define CL_UINTEGER (1 << 28) /* Argument is an integer >=0. */ +#define CL_COMMON (1 << 29) /* Language-independent. */ #endif |