X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/0df87bb6096b345a0a25714ee64c3a49596f2778..0f37a9942fa297c9e45e5224844c1938a45834f2:/ChangeLog diff --git a/ChangeLog b/ChangeLog index 1fde180b..b3ec41f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,62 @@ +2001-11-14 Akim Demaille + + * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper + definition. + * src/main.c (main): Use them. + Suggested by Hans Aberg. + +2001-11-12 Akim Demaille + + * src/system.h (ngettext): Now that we use ngettext, be sure to + provide a default definition when NLS are not used. + +2001-11-12 Akim Demaille + + * doc/bison.texinfo: Use `$' as shell prompt, not `%'. + Use @kbd to denote user input. + (Language and Grammar): ANSIfy the example. + Adjust its layout for info/notinfo. + (Location Tracking Calc): Output error messages to stderr. + Output locations in a more GNUtically correct way. + Fix a couple of Englishos. + Adjust @group/@end group pairs. + +2001-11-12 Akim Demaille + + %expext was not functioning at all. + + * src/conflicts.c (expected_conflicts): Set to -1. + (conflict_report): Use ngettext. + (conflicts_print): Check %expect and make its violation an error. + * doc/bison.texinfo (Expect Decl): Adjust. + * configure.in (AM_GNU_GETTEXT): Ask for ngettext. + * tests/regression.at (%expect not enough, %expect right) + (%expect too much): New. + +2001-11-12 Akim Demaille + + * tests/regression.at (Conflicts): Rename as... + (Unresolved SR Conflicts): this. + (Solved SR Conflicts): New. + +2001-11-12 Akim Demaille + + * src/reduce.c (print_results): Rename as... + (reduce_output): This. + Output to OUT, passed as argument, instead of output_obstack. + (dump_grammar): Likewise. + (reduce_free): New. + Also free V1. + (reduce_grammar): No longer call reduce_output, since... + * src/print.c (print_results): do it. + * src/main.c (main): Call reduce_free; + +2001-11-12 Akim Demaille + + * src/conflicts.c (print_reductions): Accept OUT as argument. + Output to it, not to output_obstack. + * src/print.c (print_actions): Adjust. + 2001-11-12 Akim Demaille * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return @@ -8,7 +67,7 @@ (conflicts_print, conflicts_output): New. * src/conflicts.h: Adjust. * src/main.c (main): Invoke both conflicts_output and conflicts_print. - * src/print.c (print_grammar): Issue `\n' between to rule outputs. + * src/print.c (print_grammar): Issue `\n' between two rules. * tests/regression.at (Conflicts): New. Reported by Tom Lane. @@ -17,7 +76,6 @@ * tests/regression.at (Invalid input): Remove, duplicate with ``Invalid input: 1''. - 2001-11-12 Akim Demaille * tests/torture.at (AT_DATA_STACK_TORTURE) @@ -28,7 +86,7 @@ * src/bison.simple (YYSTACK_REALLOC): New. (yyparse) [!yyoverflow]: Use it and free the old stack. - Reported by FIXME: Who. + Reported by Per Allansson. 2001-11-12 Pascal Bart