diff options
author | Camil Staps | 2016-08-30 21:28:08 +0200 |
---|---|---|
committer | Camil Staps | 2016-08-30 21:28:08 +0200 |
commit | 2218e6612081d14c2cd3c94391472ffe2f338944 (patch) | |
tree | 252a6e58137b69c43b292e448997eead78281b77 /interpreter/print.h | |
parent | Fixed 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.h | 6 |
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 |