Re: Possible bug in lua_next() ?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Possible bug in lua_next() ?
- From: Roberto Ierusalimschy <rieru@...>
- Date: 2001年12月19日 11:36:05 -0600 (CST)
Yes, there was another bug there (which means sloppy tests) :-(
Follows the correction:
file ltable.c, line 98 (function luaH_index):
- if (0 <= i && i < t->sizearray) { /* is `key' inside array part? */
+ if (0 <= i && i <= t->sizearray) { /* is `key' inside array part? */
-- Roberto