]> git.saurik.com Git - bison.git/commit
When yydebug, report semantic and location values for reductions.
authorAkim Demaille <akim@epita.fr>
Fri, 11 Nov 2005 10:36:24 +0000 (10:36 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 11 Nov 2005 10:36:24 +0000 (10:36 +0000)
commit62b08cfcd72cfd74c22080733d0156122ab27a15
tree3ca5a7acd35ec521c27bceaf6c2413c18b642ce4
parent02998094314217bb4d5c4d946bfd934963eb3793
When yydebug, report semantic and location values for reductions.
* data/glr.c (yy_reduce_print): Report the semantic values and the
locations.
(YY_REDUCE_PRINT): Adjust.
(yyglrReduce): Use them.
(b4_rhs_value, b4_rhs_location): Remove m4_eval invocations.
* data/c.m4 (b4_yysymprint_generate): Specify the const arguments.
* tests/calc.at (_AT_CHECK_CALC_ERROR): Remove the reduction
traces.
ChangeLog
data/c.m4
data/glr.c
tests/calc.at