fix builtins to keep them from obliterating stack values.
This commit is contained in:
@@ -50,7 +50,7 @@ final class Builtin extends LFunction {
|
||||
default:
|
||||
luaUnsupportedOperation();
|
||||
}
|
||||
state.adjustTop(base-1+returnValues);
|
||||
state.adjustTop(base+returnValues);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
LUA_HOME=/cygdrive/c/programs/lua5.1
|
||||
TESTS="test1 test2 test3 test4 test5"
|
||||
TESTS="test3"
|
||||
TESTS="test2"
|
||||
for x in $TESTS
|
||||
do
|
||||
echo compiling $x
|
||||
|
||||
Reference in New Issue
Block a user