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

@@ -196,6 +196,8 @@ public class LoadState {
Proto f = new Proto();
// this.L.push(f);
f.source = loadString();
if ( f.source == null )
f.source = p;
f.linedefined = loadInt();
f.lastlinedefined = loadInt();
f.nups = loadByte();