X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/ab8d9dc52f4f90c357134abfd019398d348d137f..5ad0a449d62cb14c34dac70f86281edee7ab4275:/ChangeLog diff --git a/ChangeLog b/ChangeLog index 6e6103d4..bfe0b48c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,35 @@ +2006-05-21 Joel E. Denny + + * data/glr.c (yyresolveLocations): Remove bogus YYASSERT that the + state before an empty RHS is always resolved here. Only the location + of that state is guaranteed to be resolved, and that's enough. This + fixes the remaining bug reported by Derek M. Jones in + . + * tests/glr-regression.at (Uninitialized location when reporting + ambiguity): Test the above case. + Also, the embedded comments in this test case claim it checks the case + of an empty RHS that has inherited the initial location. However, the + corresponding LHS was already resolved, so yyresolveLocations didn't + actually have reason to modify it. Fix this by forcing + nondeterministic operation at the beginning of the parse. + +2006-05-20 Paul Eggert + + * data/c.m4 (b4_yy_symbol_print_generate): + (b4_yy_symbol_print_generate): Use 'YYSTYPE const' rather than + 'const YYSTYPE', and similarly for YYLTYPE. This fixes one + of the bugs reported today by Derek M Jones in + . + * doc/bison.texinfo (Value Type): Document that YYSTYPE must be + defined to be a type name without parens or brackets. + (Location Type): Similarly for YYLTYPE. + * tests/regression.at (Trivial grammars): Put in a test for this + bug that will be caught by 'make maintainer-check' (though not, + alas, by 'make check' unless your compiler is picky). + 2006-05-19 Paul Eggert - * NEWS: Version 2.1. + * NEWS: Version 2.2. * configure.ac (AC_INIT): Likewise. 2006-05-17 Joel E. Denny