diff options
Diffstat (limited to 'ldebug.c')
-rw-r--r-- | ldebug.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.c,v 2.30 2006/07/11 15:53:29 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 2.31 2006/08/07 19:04:06 roberto Exp roberto $ |
3 | ** Debug Interface | 3 | ** Debug Interface |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -185,7 +185,7 @@ static void collectvalidlines (lua_State *L, Closure *f) { | |||
185 | int i; | 185 | int i; |
186 | int *lineinfo = f->l.p->lineinfo; | 186 | int *lineinfo = f->l.p->lineinfo; |
187 | Table *t = luaH_new(L); | 187 | Table *t = luaH_new(L); |
188 | sethvalue(L, L->top, t); | 188 | sethvalue(L, L->top, t); |
189 | incr_top(L); | 189 | incr_top(L); |
190 | for (i=0; i<f->l.p->sizelineinfo; i++) | 190 | for (i=0; i<f->l.p->sizelineinfo; i++) |
191 | setbvalue(luaH_setnum(L, t, lineinfo[i]), 1); | 191 | setbvalue(luaH_setnum(L, t, lineinfo[i]), 1); |