diff options
Diffstat (limited to 'ldebug.c')
-rw-r--r-- | ldebug.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.c,v 1.83 2001/06/15 20:36:57 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 1.84 2001/06/26 13:20:45 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 | */ |
@@ -450,8 +450,8 @@ static Instruction luaG_symbexec (const Proto *pt, int lastpc, int reg) { | |||
450 | break; | 450 | break; |
451 | } | 451 | } |
452 | case OP_CLOSURE: { | 452 | case OP_CLOSURE: { |
453 | check(b < pt->sizekproto); | 453 | check(b < pt->sizep); |
454 | checkreg(pt, a + pt->kproto[b]->nupvalues - 1); | 454 | checkreg(pt, a + pt->p[b]->nupvalues - 1); |
455 | break; | 455 | break; |
456 | } | 456 | } |
457 | default: break; | 457 | default: break; |