diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2018-04-06 12:40:35 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2018-04-06 12:40:35 -0400 |
| commit | 90a4f1acb38340590a72345da1bc70f87b8f1efa (patch) | |
| tree | 1977131b0488c6b7ee5a95713a990a9271f9b260 /ctemplates.h | |
| parent | 4c438a0d0b1cf978911accef7424a1e64e3dac1a (diff) | |
| download | libctemplates-90a4f1acb38340590a72345da1bc70f87b8f1efa.tar.gz libctemplates-90a4f1acb38340590a72345da1bc70f87b8f1efa.tar.bz2 libctemplates-90a4f1acb38340590a72345da1bc70f87b8f1efa.zip | |
Added print_ast as a function.
Added `void print_ast(TMPL_node)` as a debugging function.
Diffstat (limited to 'ctemplates.h')
| -rw-r--r-- | ctemplates.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
