From 2218e6612081d14c2cd3c94391472ffe2f338944 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 30 Aug 2016 21:28:08 +0200 Subject: Fix one memory leak mentioned in #2; add debug dot graphs output --- interpreter/print.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'interpreter/print.h') 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 + 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 -- cgit v1.2.3