X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/5b7e1e73e692565d7613ceb8d45ce95d2071077f..e503aa60d52dffa585eed44dee29c1620653a9a3:/ChangeLog?ds=sidebyside diff --git a/ChangeLog b/ChangeLog index 6657f471..242b0a97 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,41 @@ +2004-10-06 Akim Demaille + + * src/parse-gram.y (add_param): Fix the truncation of trailing + spaces. + +2004-10-05 Akim Demaille + + In Bison 1.875's yacc.c, YYLLOC_DEFAULT was called regardless + whether the reducion was empty or not. This leaves room to + improve the use of YYLLOC_DEFAULT in such a case. + lalr1.cc is still experimental, so changing this is acceptable. + And finally, there are probably not many users who changed the + handling of locations in GLR, so changing is admissible too. + + * data/glr.c, data/lalr1.cc, data/yacc.c (YYLLOC_DEFAULT): On an + empty reduction, set @$ to an empty location ending the previously + stacked symbol. + Adjust uses to make sure the code is triggered on empty + reductions. + * tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Adjust the + expected output: empty reductions have empty locations. + +2004-09-29 Akim Demaille + + * data/lalr1.cc: Move towards a more standard C++ coding style + for templates: Class < T > -> Class. + +2004-09-29 Akim Demaille + + * data/lalr1.cc: Reinstall the former ctor, for sake of + compatibility, but warn it will be removed. + Move towards a more standard C++ coding style (i.e., type *var -> + type* var). + 2004-09-27 Paul Eggert - * src/parse-gram.y (add_param): Fix bug where NUL was mishandled. - Avoid the use of strchr to avoid future recurrences. + * src/parse-gram.y (add_param): Rewrite to avoid strchr, + since it's less likely to work if NULs are involved in the future. 2004-09-27 Akim Demaille @@ -10,7 +44,7 @@ 2004-09-27 Akim Demaille * data/lalr1.cc (b4_parse_param_decl_1): New. - (b4_parse_param_decl): Use it to have different names bw attribute + (b4_parse_param_decl): Use it to have different names between attribute and argument names. (b4_cc_constructor_call): Likewise.