From 90a4f1acb38340590a72345da1bc70f87b8f1efa Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Fri, 6 Apr 2018 12:40:35 -0400 Subject: Added print_ast as a function. Added `void print_ast(TMPL_node)` as a debugging function. --- ctemplates.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ctemplates.h') diff --git a/ctemplates.h b/ctemplates.h index f74e556..4744d14 100644 --- a/ctemplates.h +++ b/ctemplates.h @@ -203,5 +203,6 @@ void TMPL_free_tagnode(struct TMPL_tagnode* tn); /*A debug function*/ void print_varlist(struct TMPL_varlist* vl); +void print_ast(struct TMPL_tagnode* root); #endif -- cgit v1.2.3-70-g09d2