aboutsummaryrefslogtreecommitdiffstats
path: root/c_parser/src/parser_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c_parser/src/parser_main.cpp')
-rw-r--r--c_parser/src/parser_main.cpp6
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;