summaryrefslogtreecommitdiff
path: root/comp/lucas-standen-NEA/code2/debug.c
diff options
context:
space:
mode:
authorthing1 <thing1@seacrossedlovers.xyz>2024-10-07 12:59:43 +0100
committerthing1 <thing1@seacrossedlovers.xyz>2024-10-07 12:59:43 +0100
commitce61e41c6a14b84808aceb37d5118f23e3affaa0 (patch)
tree8e6b7bea499ddd598c7096ef85e2aa19e85498b6 /comp/lucas-standen-NEA/code2/debug.c
parent69c8e84587d934545bdb9d21b292463428ebee93 (diff)
added comments to all of zpy and made the compiler have useful error msgs and for the most part not segv fault
Diffstat (limited to 'comp/lucas-standen-NEA/code2/debug.c')
-rw-r--r--comp/lucas-standen-NEA/code2/debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/comp/lucas-standen-NEA/code2/debug.c b/comp/lucas-standen-NEA/code2/debug.c
index 3d2d75b..14b717f 100644
--- a/comp/lucas-standen-NEA/code2/debug.c
+++ b/comp/lucas-standen-NEA/code2/debug.c
@@ -3,6 +3,7 @@
#include "util.h"
+//# a simple util function to visulize an astNode, never used but nice for debugging
void printAST(astNode *head){
printf("\n>>>\nfunc: %s\n", head->func);
printf("args: ");