diff options
Diffstat (limited to 'lvm.c')
-rw-r--r-- | lvm.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.c,v 1.48 1999/02/09 15:58:45 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 1.49 1999/02/09 18:01:55 roberto Exp roberto $ |
3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -638,8 +638,9 @@ StkId luaV_execute (Closure *cl, TProtoFunc *tf, StkId base) { | |||
638 | luaD_lineHook(aux); | 638 | luaD_lineHook(aux); |
639 | break; | 639 | break; |
640 | 640 | ||
641 | case LONGARG: | 641 | case LONGARGW: aux += highbyte(*pc++); |
642 | aux = highbyte(highbyte(*pc++)); | 642 | case LONGARG: aux += *pc++; |
643 | aux = highbyte(highbyte(aux)); | ||
643 | goto switchentry; /* do not reset "aux" */ | 644 | goto switchentry; /* do not reset "aux" */ |
644 | 645 | ||
645 | } | 646 | } |