diff options
Diffstat (limited to 'ldebug.c')
-rw-r--r-- | ldebug.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -306,7 +306,7 @@ static void collectvalidlines (lua_State *L, Closure *f) { | |||
306 | Table *t = luaH_new(L); /* new table to store active lines */ | 306 | Table *t = luaH_new(L); /* new table to store active lines */ |
307 | sethvalue2s(L, L->top, t); /* push it on stack */ | 307 | sethvalue2s(L, L->top, t); /* push it on stack */ |
308 | api_incr_top(L); | 308 | api_incr_top(L); |
309 | setbvalue(&v, 1); /* boolean 'true' to be the value of all indices */ | 309 | setbtvalue(&v); /* boolean 'true' to be the value of all indices */ |
310 | for (i = 0; i < p->sizelineinfo; i++) { /* for all lines with code */ | 310 | for (i = 0; i < p->sizelineinfo; i++) { /* for all lines with code */ |
311 | currentline = nextline(p, currentline, i); | 311 | currentline = nextline(p, currentline, i); |
312 | luaH_setint(L, t, currentline, &v); /* table[line] = true */ | 312 | luaH_setint(L, t, currentline, &v); /* table[line] = true */ |