From 2864f0483c9c7dc8b57184348a1b2a8ab3656ddd Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Wed, 15 Feb 2017 12:28:20 +0000 Subject: Finished parser for declarations --- c_parser/include/ast_top.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c_parser/include') diff --git a/c_parser/include/ast_top.hpp b/c_parser/include/ast_top.hpp index cafae3a..ff1cffa 100644 --- a/c_parser/include/ast_top.hpp +++ b/c_parser/include/ast_top.hpp @@ -7,13 +7,13 @@ class ast_Top { public: - void print_vec() { + void print() { for(size_t i = 0; i < ast_vec.size(); ++i) { ast_vec[i]->print(); } } - void push_back(const ast_Base *stmnt) { + void push(const ast_Base *stmnt) { ast_vec.push_back(stmnt); } private: -- cgit