repositories
/
ccc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
455fa71bb98a383a1f41c66d7e9dfa721ada2d94
[ccc.git]
/
expr.c
1
#include <stdlib.h>
2
#include <stdio.h>
3
#include
"ast.h"
4
5
#include
"y.tab.h"
6
7
int
main
()
8
{
9
struct
ast
*
result
=
NULL
;
10
int
r
=
yyparse
(&
result
);
11
if
(
r
!=
0
)
12
return
r
;
13
ast_print
(
result
,
stdout
);
14
return
0
;
15
}