diff options
Diffstat (limited to 'gcc/opts.h')
-rw-r--r-- | gcc/opts.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/opts.h b/gcc/opts.h index 31c6e8e7f31..4ee3ffe37e8 100644 --- a/gcc/opts.h +++ b/gcc/opts.h @@ -21,21 +21,26 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #ifndef GCC_OPTS_H #define GCC_OPTS_H -extern int handle_option (int argc, char **argv, int lang_mask); +extern void handle_options (unsigned int argc, char **argv, + unsigned int lang_mask); struct cl_option { const char *opt_text; + unsigned short back_chain; unsigned char opt_len; unsigned int flags; }; extern const struct cl_option cl_options[]; extern const unsigned int cl_options_count; +extern const char *const lang_names[]; #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 |