diff options
Diffstat (limited to 'c_parser/include/ast_top.hpp')
-rw-r--r-- | c_parser/include/ast_top.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c_parser/include/ast_top.hpp b/c_parser/include/ast_top.hpp index ff1cffa..142dfb8 100644 --- a/c_parser/include/ast_top.hpp +++ b/c_parser/include/ast_top.hpp @@ -12,10 +12,11 @@ public: ast_vec[i]->print(); } } - + void push(const ast_Base *stmnt) { ast_vec.push_back(stmnt); } + private: std::vector<const ast_Base *> ast_vec; }; |