* src/Makefile.am (YACC): Use --warnings=all,error so that Bison's own

grammar is maintained with Bison's highest standards.
* src/getargs.c: Fix some typos in Doxygen comments.
This commit is contained in:
Joel E. Denny
2006-11-10 06:11:21 +00:00
parent 580b892607
commit 07c39ae908
3 changed files with 10 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ LDADD = ../lib/libbison.a $(LIBINTL)
# Use our own Bison to build the parser. Of course, you ought to
# keep a sane version of Bison nearby...
YACC = ../tests/bison -y
YACC = ../tests/bison -y --warnings=all,error
bin_PROGRAMS = bison
bin_SCRIPTS = $(YACC_SCRIPT)

View File

@@ -75,9 +75,9 @@ extern char *program_name;
/** Decode an option's set of keys.
*
* \param option option being decoded.
* \paran keys array of valid subarguments.
* \param keys array of valid subarguments.
* \param values array of corresponding (int) values.
* \param flag the flags to update
* \param flags the flags to update
* \param args colon separated list of effective subarguments to decode.
* If 0, then activate all the flags.
*
@@ -108,7 +108,7 @@ flags_argmatch (const char *option,
/** Decode a set of sub arguments.
*
* \param FlagName the flag familly to update.
* \param args the effective sub arguments to decode.
* \param Args the effective sub arguments to decode.
*
* \arg FlagName_args the list of keys.
* \arg FlagName_types the list of values.