X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/d49751602c47c91834f96b80aa4674b7a7925262..75ae8299840bbd854fa2474d38402bbb933c6511:/src/getargs.c diff --git a/src/getargs.c b/src/getargs.c index 03a7339b..e6f9d766 100644 --- a/src/getargs.c +++ b/src/getargs.c @@ -330,7 +330,7 @@ Warning categories include:\n\ 'empty-rule' empty rules without %empty\n\ 'precedence' useless precedence and associativity\n\ 'other' all other warnings (enabled by default)\n\ - 'all' all the warnings\n\ + 'all' all the warnings except 'yacc'\n\ 'no-CATEGORY' turn off warnings in CATEGORY\n\ 'none' turn off all the warnings\n\ 'error[=CATEGORY]' treat warnings as errors\n\ @@ -538,7 +538,7 @@ static struct option const long_options[] = }; /* Under DOS, there is no difference on the case. This can be - troublesome when looking for `.tab' etc. */ + troublesome when looking for '.tab' etc. */ #ifdef MSDOS # define AS_FILE_NAME(File) (strlwr (File), (File)) #else @@ -582,6 +582,7 @@ getargs (int argc, char *argv[]) if (value) *value++ = 0; muscle_percent_define_insert (name, command_line_location (), + muscle_string, value ? value : "", c == 'D' ? MUSCLE_PERCENT_DEFINE_D : MUSCLE_PERCENT_DEFINE_F); @@ -666,7 +667,8 @@ getargs (int argc, char *argv[]) case 't': muscle_percent_define_insert ("parse.trace", - command_line_location (), "", + command_line_location (), + muscle_keyword, "", MUSCLE_PERCENT_DEFINE_D); break;