• neil's avatar
    * c-opts.c (c_common_handle_option): s/on/value/. · 837277ab
    neil authored
    	(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
    837277ab
opts.c 8.24 KB