mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-22 18:53:04 +00:00
Fix iteration type.
* data/lalr1-fusion.cc: Use an int to iterate up to an int.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2008-11-04 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
|
Fix iteration type.
|
||||||
|
* data/lalr1-fusion.cc: Use an int to iterate up to an int.
|
||||||
|
|
||||||
2008-11-04 Akim Demaille <demaille@gostai.com>
|
2008-11-04 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
Factor the declaration of the integer tables.
|
Factor the declaration of the integer tables.
|
||||||
|
|||||||
@@ -888,7 +888,7 @@ m4_ifdef([b4_lex_param], [, ]b4_lex_param))[;
|
|||||||
|
|
||||||
]b4_variant_if([
|
]b4_variant_if([
|
||||||
// Destroy the lhs symbols.
|
// Destroy the lhs symbols.
|
||||||
for (unsigned i = 0; i < yylen; ++i)
|
for (int i = 0; i < yylen; ++i)
|
||||||
{
|
{
|
||||||
b4_symbol_variant([[yystos_[yystack_@{i@}.state]]],
|
b4_symbol_variant([[yystos_[yystack_@{i@}.state]]],
|
||||||
[[yystack_@{i@}.value]],
|
[[yystack_@{i@}.value]],
|
||||||
|
|||||||
Reference in New Issue
Block a user