Couple of fixes for last commit

Sun, 23 May 2010 12:46:56 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 23 May 2010 12:46:56 +0100
changeset 30
10fd886c4e8a
parent 29
62f3df8ed204
child 31
bc58527bac34

Couple of fixes for last commit

lvm.js file | annotate | diff | comparison | revisions
--- a/lvm.js	Sun May 23 12:46:02 2010 +0100
+++ b/lvm.js	Sun May 23 12:46:56 2010 +0100
@@ -14,7 +14,6 @@
 var OP_CLOSURE = 36;
 
 var debugMode = false;
-var rawExceptions = false;
 
 function LValue(type, value)
 {
@@ -423,6 +422,6 @@
 catch(e)
 {
 	print("Error: " + e);
-	if(stack in e)
+	if("stack" in e)
 		print(e.stack);
 }

mercurial