X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/82b6d266fdd393132bf7073acaea31f4f624b223..337c5bd13149798e120508d4a250aae8bc78db1c:/src/options.h diff --git a/src/options.h b/src/options.h index c509580f..8ad5a62e 100644 --- a/src/options.h +++ b/src/options.h @@ -21,7 +21,7 @@ #ifndef OPTIONS_H_ # define OPTIONS_H_ -/* opt_access_t and struct option_table_struct need to be declare +/* opt_access_t and struct option_table_struct need to be declare here, for the parse_percent_token function in lex.c. */ /* Option accessibility. */ @@ -43,7 +43,7 @@ struct option_table_struct /* Use for command line. */ int has_arg; /* A set_flag value causes the named flag to be set. */ - int *set_flag; + void *set_flag; /* A retval action returns the code. */ int ret_val; /* The short option value, frequently a letter. */