* data/glr.c (yy_reduce_print): The loop was quite wrong: type are

from 1 to N, while values and location start at 0.
(b4_rhs_location, b4_rhs_value): Add parens around $1 and $2.
This commit is contained in:
Akim Demaille
2005-11-14 17:20:28 +00:00
parent a1373f559a
commit 6de5398de3
2 changed files with 11 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
2005-11-14 Akim Demaille <akim@epita.fr>
* data/glr.c (yy_reduce_print): The loop was quite wrong: type are
from 1 to N, while values and location start at 0.
(b4_rhs_location, b4_rhs_value): Add parens around $1 and $2.
2005-11-14 Akim Demaille <akim@epita.fr>
* data/glr.c (yy_reduce_print): Fix the $ number.