octal escapes
[ccc.git] / expr.c
1 #include <stdlib.h>
2 #include <stdio.h>
3
4 #include "ast.h"
5 #include "y.tab.h"
6 extern int yylex_destroy(void);
7
8 int main()
9 {
10 struct ast *result;
11 int r = yyparse(&result);
12 if (r != 0)
13 return 1;
14 yylex_destroy();
15 ast_print(result, stdout);
16 ast_free(result);
17 return 0;
18 }