aboutsummaryrefslogtreecommitdiff
path: root/dbg.d
diff options
context:
space:
mode:
authormryouse2023-05-25 00:30:03 +0000
committermryouse2023-05-25 00:30:03 +0000
commitc08e9c793b138da5b373d6cb66a2eb599ea77397 (patch)
tree1399d36653163831c44212a3f22743c1ad840e88 /dbg.d
parentdf34325463c28f11eb2ce46f83da0c29bafe1a5e (diff)
make debug toggle-able
Diffstat (limited to 'dbg.d')
-rw-r--r--dbg.d3
1 files changed, 3 insertions, 0 deletions
diff --git a/dbg.d b/dbg.d
index 5a98264..19e92b1 100644
--- a/dbg.d
+++ b/dbg.d
@@ -8,6 +8,9 @@ import parser;
//import dbg;
//import value;
+bool DEBUG = true;
+
+
void printForm(Form f, string prefix = "") {
switch (f.type) {
case FormType.EOF: