Fix iteration type.

* data/lalr1-fusion.cc: Use an int to iterate up to an int.
This commit is contained in:
Akim Demaille
2008-07-21 13:49:54 +02:00
parent 417b80040b
commit f063317430
2 changed files with 6 additions and 1 deletions

View File

@@ -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>
Factor the declaration of the integer tables.

View File

@@ -888,7 +888,7 @@ m4_ifdef([b4_lex_param], [, ]b4_lex_param))[;
]b4_variant_if([
// 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]]],
[[yystack_@{i@}.value]],