Merge pull request #16 from Enyby/patch-8
Fix build stack traceback in DebugLib Fixes #7
This commit was merged in pull request #16.
This commit is contained in:
@@ -867,6 +867,10 @@ public class DebugLib extends TwoArgFunction {
|
||||
if (reg == a) setreg = pc; /* jumped code can change 'a' */
|
||||
break;
|
||||
}
|
||||
case Lua.OP_SETLIST: { // Lua.testAMode(Lua.OP_SETLIST) == false
|
||||
if ( ((i>>14)&0x1ff) == 0 ) pc++; // if c == 0 then c stored in next op -> skip
|
||||
break;
|
||||
}
|
||||
default:
|
||||
if (Lua.testAMode(op) && reg == a) /* any instruction that set A */
|
||||
setreg = pc;
|
||||
|
||||
Reference in New Issue
Block a user