diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-06-16 05:47:07 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-06-16 05:47:07 +0000 |
commit | 7b086b11df0c065c531a6cf2aa505504fe9ec8e2 (patch) | |
tree | 67395c06dd702d1671de8501d39fbe92f55618bd /gcc/opts.sh | |
parent | 89aa997ab8059f7f3663b8db9455e522fbd42d0b (diff) | |
download | gcc-7b086b11df0c065c531a6cf2aa505504fe9ec8e2.tar.gz |
c-opts.c (c_common_handle_option): s/on/value/.
* 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.
From-SVN: r67999
Diffstat (limited to 'gcc/opts.sh')
-rw-r--r-- | gcc/opts.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/opts.sh b/gcc/opts.sh index 27dbe4c29de..bbca27265c7 100644 --- a/gcc/opts.sh +++ b/gcc/opts.sh @@ -55,8 +55,11 @@ ${AWK} ' } if (flags ~ " Common ") result = result " | CL_COMMON" if (flags ~ " Joined ") result = result " | CL_JOINED" + if (flags ~ " JoinedOrMissing ") \ + result = result " | CL_JOINED | CL_MISSING_OK" if (flags ~ " Separate ") result = result " | CL_SEPARATE" if (flags ~ " RejectNegative ") result = result " | CL_REJECT_NEGATIVE" + if (flags ~ " UInteger ") result = result " | CL_UINTEGER" sub( "^0 \\| ", "", result ) return result } |