]> git.saurik.com Git - bison.git/commit
Have more complete shift traces.
authorAkim Demaille <akim@epita.fr>
Thu, 16 Sep 2004 14:14:27 +0000 (14:14 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 16 Sep 2004 14:14:27 +0000 (14:14 +0000)
commit1576d44dcea36851fda9da32b2d45cbe6afc712e
tree587a33f523bddd9f1cf7ac2280848c43d8973352
parent9c66f418c444a355f6cbbcfadbb259f7d52d44e6
Have more complete shift traces.
* data/yacc.c, data/lalr1.c, data/glr.c: Use YY_SYMBOL_PRINT
to report Shifts instead of ad hoc YYDPRINTF invocations,
including for the error token.
* data/lalr1.cc (symprint_): Output the location.
* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): In C++, don't
output the location within the %printer.
Activate GLR tests, at least to make sure they compile properly.
They still don't pass though.
* tests/calc.at: Adjust expect verbose output, since now "Entering
state..." is on a different line than the "Shifting" message.
ChangeLog
data/glr.c
data/lalr1.cc
data/yacc.c
tests/actions.at
tests/calc.at