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