Improve error handling, introduce lua stack trace processing.

This commit is contained in:
James Roseborough
2007-09-18 22:55:22 +00:00
parent a55504639e
commit 32e1fedba5
7 changed files with 155 additions and 76 deletions

View File

@@ -33,7 +33,7 @@ public class LValue {
// perform a lua call, return true if the call is to a lua function, false
// if it ran to completion.
public boolean luaStackCall(VM vm) {
luaUnsupportedOperation();
vm.lua_error("attempt to call "+this);
return false;
}