diff options
Diffstat (limited to 'include/symbol_table.hpp')
| -rw-r--r-- | include/symbol_table.hpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/include/symbol_table.hpp b/include/symbol_table.hpp index 55de65a..42c6cd7 100644 --- a/include/symbol_table.hpp +++ b/include/symbol_table.hpp @@ -1,12 +1,14 @@ #pragma once +#include "scope.hpp" + +#include <vector> + class SymbolTable { public: - + explicit SymbolTable(); + void addScope(Scope* scope); private: - std::vector<Scope> scopes; - Scope* current_scope; - - + std::vector<Scope*> scopes; }; |
