fix builtins to keep them from obliterating stack values.

This commit is contained in:
James Roseborough
2007-06-15 15:20:21 +00:00
parent be20581731
commit 4fb619fe87
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ final class Builtin extends LFunction {
default:
luaUnsupportedOperation();
}
state.adjustTop(base-1+returnValues);
state.adjustTop(base+returnValues);
}
}

View File

@@ -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