From 07c39ae908c536bc00f504d9e6a7cac7c12e08ad Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Fri, 10 Nov 2006 06:11:21 +0000 Subject: [PATCH] * 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. --- ChangeLog | 6 ++++++ src/Makefile.am | 2 +- src/getargs.c | 6 +++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2d954577..45a46311 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-11-10 Joel E. Denny + + * 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. + 2006-11-10 Joel E. Denny Fix memory leaks in scanners generated by at least Flex 2.5.9 and diff --git a/src/Makefile.am b/src/Makefile.am index 3fb29e79..2592256b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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) diff --git a/src/getargs.c b/src/getargs.c index 9a2f5307..563cc129 100644 --- a/src/getargs.c +++ b/src/getargs.c @@ -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. -- 2.45.2