X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/06cb07d517e067fced1e6ca1ea8d432bc5a4d728..67f1a2c254e71e15125a1f4f64fae8f68deaa4fd:/ChangeLog diff --git a/ChangeLog b/ChangeLog index 760fe9c3..86d3f3c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,51 @@ +2010-04-13 Akim Demaille <demaille@gostai.com> + + tests: calc: minor refactoring. + * tests/calc.at (_AT_DATA_CALC_Y): Simplify yylex. + +2010-04-13 Akim Demaille <demaille@gostai.com> + + tests: calc: simplify location management. + * tests/local.at (AT_LOC_PUSHDEF, AT_LOC_POPDEF): New. + (_AT_BISON_OPTION_PUSHDEFS, AT_BISON_OPTION_POPDEFS): Use them to + define the appropriate AT_LOC accessors. + * tests/calc.at: Use AT_LOC accessors. + +2010-04-13 Akim Demaille <demaille@gostai.com> + + test location_type. + * tests/local.at (_AT_BISON_OPTION_PUSHDEFS): + Define AT_LOCATION_TYPE_IF. + (_AT_BISON_OPTION_POPDEFS): Undefine AT_LOCATION_TYPE_IF. + * tests/calc.at (_AT_DATA_CALC_Y): When %define location_type is + used, provide a user location type and use it. + (Simple LALR1 C++ Calculator): Add a test case for location_type. + +2010-04-13 Akim Demaille <demaille@gostai.com> + + tests: check fclose's return value. + * tests/calc.at (_AT_DATA_CALC_Y): Check fclose's return status. + +2010-04-13 Akim Demaille <demaille@gostai.com> + + tests: don't depend on the actual location type. + * tests/calc.at: Use yy::parser::location_type rather than + yy::location, since the former is always right, and might point to + another type than the latter. + +2010-04-13 Akim Demaille <demaille@gostai.com> + + formatting changes. + * tests/calc.at: Formatting changes. + +2010-04-13 Akim Demaille <demaille@gostai.com> + + lalr1.cc: remove useless forward declaration. + * data/lalr1.cc: Include location.hh before stack.hh. + Remove the useless forward declarations of position and location. + Reported by Chris Morley. + * data/glr.cc: Likewise. + 2010-04-11 Joel E. Denny <joeldenny@joeldenny.org> * NEWS (2.4.3): Mention fix for Sun Studio C++.