c-opts.c (c_common_handle_option): s/on/value/.
authorNeil Booth <neil@daikokuya.co.uk>
Mon, 16 Jun 2003 05:47:07 +0000 (05:47 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Mon, 16 Jun 2003 05:47:07 +0000 (05:47 +0000)
commit7b086b11df0c065c531a6cf2aa505504fe9ec8e2
tree67395c06dd702d1671de8501d39fbe92f55618bd
parent89aa997ab8059f7f3663b8db9455e522fbd42d0b
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
gcc/ChangeLog
gcc/c-opts.c
gcc/c.opt
gcc/common.opt
gcc/java/ChangeLog
gcc/java/lang.c
gcc/java/lang.opt
gcc/opts.c
gcc/opts.h
gcc/opts.sh