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);
}
}