aboutsummaryrefslogtreecommitdiff
path: root/interpreter/print.h
diff options
context:
space:
mode:
authorCamil Staps2016-08-30 21:28:08 +0200
committerCamil Staps2016-08-30 21:28:08 +0200
commit2218e6612081d14c2cd3c94391472ffe2f338944 (patch)
tree252a6e58137b69c43b292e448997eead78281b77 /interpreter/print.h
parentFixed issue with twice (diff)
Fix one memory leak mentioned in #2; add debug dot graphs output
Diffstat (limited to 'interpreter/print.h')
-rw-r--r--interpreter/print.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/interpreter/print.h b/interpreter/print.h
index 544786f..047a7f7 100644
--- a/interpreter/print.h
+++ b/interpreter/print.h
@@ -4,6 +4,8 @@
#include "syntax.h"
#include "graphs.h"
+#include <stdio.h>
+
void print_token(token*);
void print_token_list(token_list*);
@@ -13,4 +15,8 @@ void print_fuspel(fuspel*);
void print_node(struct node*);
+#ifdef _FUSPEL_DEBUG
+void print_node_to_file(struct node*, FILE*);
+#endif
+
#endif