diff options
author | Camil Staps | 2016-09-24 10:22:53 +0200 |
---|---|---|
committer | Camil Staps | 2016-09-24 10:22:53 +0200 |
commit | 314bcfc67fb95df06c8177cab8792b46b25d90fc (patch) | |
tree | a8b8a37b53938758378690ae2842f793eddaa262 /interpreter/print.h | |
parent | Fix one memory leak mentioned in #2; add debug dot graphs output (diff) |
Working graphs (?)
Diffstat (limited to 'interpreter/print.h')
-rw-r--r-- | interpreter/print.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/interpreter/print.h b/interpreter/print.h index 047a7f7..cc191b9 100644 --- a/interpreter/print.h +++ b/interpreter/print.h @@ -16,7 +16,12 @@ void print_fuspel(fuspel*); void print_node(struct node*); #ifdef _FUSPEL_DEBUG -void print_node_to_file(struct node*, FILE*); +struct visited_nodes { + struct node* node; + struct visited_nodes* next; +}; + +void print_node_to_file(struct node*, FILE*, struct visited_nodes*); #endif #endif |