diff options
| -rw-r--r-- | ctemplates.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ctemplates.c b/ctemplates.c index fb32b67..faf4334 100644 --- a/ctemplates.c +++ b/ctemplates.c @@ -785,7 +785,6 @@ parse(struct TMPL_token* head, struct TMPL_buf* errbuf){ if(head == NULL){ return NULL; } - printf("Parsing token of type: %d\n",head->type); switch(head->type){ case tag_text: root = parse_text(head,errbuf); @@ -809,7 +808,6 @@ parse(struct TMPL_token* head, struct TMPL_buf* errbuf){ root = NULL; break; default: - printf("Hit token of type: %d, exiting\n", head->type); exit(-1); break; } @@ -831,15 +829,11 @@ compile(char* tmplstr){ struct TMPL_templates* ret = alloc_templates(); ret->out = alloc_tmpl_buf(); ret->errout = alloc_tmpl_buf(); - printf("About to do hard things\n"); struct TMPL_token* tokens = TMPL_tokenize(tmplstr,slen); print_tokens(tokens); - printf("Done tokenizeing\n"); struct TMPL_tagnode* ast = parse(tokens,ret->errout); - printf("Done making ast\n"); print_ast(ast); if(ast == NULL){ - printf("Failed to compile\n"); }else{ ret->roottag = ast; } |
