diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-02-14 14:02:40 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-02-14 14:02:40 +0000 |
commit | ec1bd2264a19542b4e36df08ad2dba2c50f437b3 (patch) | |
tree | 808dd28f552355f78b92465071c4abacc9935eba /c_parser/src/parser_main.cpp | |
parent | 494894c2072494f199214acc5855155baae6d174 (diff) | |
download | Compiler-ec1bd2264a19542b4e36df08ad2dba2c50f437b3.tar.gz Compiler-ec1bd2264a19542b4e36df08ad2dba2c50f437b3.zip |
Working vector in parser
Diffstat (limited to 'c_parser/src/parser_main.cpp')
-rw-r--r-- | c_parser/src/parser_main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c_parser/src/parser_main.cpp b/c_parser/src/parser_main.cpp index 4dd25eb..53209e3 100644 --- a/c_parser/src/parser_main.cpp +++ b/c_parser/src/parser_main.cpp @@ -3,9 +3,9 @@ #include <iostream> int main(int argc, char *argv[]) { - - const ast_Base *ast = parseAST(); - ast->print(); + ast_Top *ast = parseAST(); + + ast->print_vec(); std::cout << std::endl; |