diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -77,5 +77,11 @@ int main(int argc,char **argv){ return 1; } - ; + AST *ast=parse(source); + if(ast==NULL){ + fprintf(stderr,"Parsing error!\n"); + return 1; + } + ast_debug(stderr,ast); + ast_free(ast); } |