Various changes:

(1) New lua compatibility bindings, including select() and math functions
(2) fix some VM bugs
(3) fix some table bugs, and attempt to restore metatable functionality.
This commit is contained in:
Ian Farmer
2007-08-01 04:15:27 +00:00
parent 68b3e68169
commit 737c5e2855
13 changed files with 252 additions and 69 deletions

View File

@@ -37,7 +37,7 @@ final class Builtin extends LFunction {
}
// perform a lua call
public void luaStackCall(VM vm) {
public boolean luaStackCall(VM vm) {
switch ( id ) {
case PRINT:
int n = vm.getArgCount();
@@ -66,6 +66,7 @@ final class Builtin extends LFunction {
default:
luaUnsupportedOperation();
}
return false;
}
static void redirectOutput( OutputStream newStdOut ) {