These changes were prompted by ongoing work on the initialization of yylval and yylloc, which is the feature needed to finish 2.6.5. It turns out to be harder than I anticipated, and in particular yylloc should be initialized (which is something that we no longer do when GCC is sufficiently modern).
So more tests about yylloc are to come, and previous changes will be partly reverted. Akim Demaille (6): tests: simplifications tests: handle %parse-param in the generated yyerror c++: fix position operator signatures tests: fix locations in C tests: remove useless location initialization. doc: formatting changes data/location.cc | 4 ++-- doc/bison.texi | 4 ++-- tests/actions.at | 13 ++++--------- tests/calc.at | 29 +++-------------------------- tests/cxx-type.at | 4 ++-- tests/glr-regression.at | 7 ------- tests/local.at | 20 +++++++++++++++----- tests/regression.at | 26 +++++++++----------------- 8 files changed, 37 insertions(+), 70 deletions(-) -- 1.8.0
