Add debugMode switch

Tue, 06 Apr 2010 14:47:21 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 06 Apr 2010 14:47:21 +0100
changeset 8
e7de6d1fee96
parent 7
00ec5f6e7579
child 9
3f055c9ab80e

Add debugMode switch

lvm.js file | annotate | diff | comparison | revisions
--- a/lvm.js	Tue Apr 06 14:46:30 2010 +0100
+++ b/lvm.js	Tue Apr 06 14:47:21 2010 +0100
@@ -7,6 +7,8 @@
 var OP_CALL = 28;
 var OP_RETURN = 30;
 
+var debugMode = false;
+
 function LValue(type, value)
 {
 	this.type = type||"nil";

mercurial