Andreas Huber | c9410c7 | 2016-07-28 12:18:40 -0700 | [diff] [blame^] | 1 | #include "AST.h" |
2 | |||||
3 | #include "Formatter.h" | ||||
4 | |||||
5 | #include <stdio.h> | ||||
6 | |||||
7 | using namespace android; | ||||
8 | |||||
9 | int main(int argc, const char *const argv[]) { | ||||
10 | AST *ast = AST::Parse(argv[1]); | ||||
11 | |||||
12 | Formatter out; | ||||
13 | |||||
14 | printf("========================================\n"); | ||||
15 | |||||
16 | ast->dump(out); | ||||
17 | |||||
18 | delete ast; | ||||
19 | ast = NULL; | ||||
20 | |||||
21 | return 0; | ||||
22 | } |