From 314bcfc67fb95df06c8177cab8792b46b25d90fc Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sat, 24 Sep 2016 10:22:53 +0200 Subject: Working graphs (?) --- interpreter/print.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'interpreter/print.h') 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 -- cgit v1.2.3