going to change symbol table structure

This commit is contained in:
ProgramSnail 2023-04-17 11:14:33 +03:00
parent 9c25cb1c6f
commit 782a48c4ff
11 changed files with 535 additions and 354 deletions

View file

@ -33,10 +33,7 @@ private:
std::unordered_map<std::string, VariableInfo> variables_;
};
// TODO handle current namespace (for class names, function names, etc.)
// TODO ?? are global variables forbidden ??
Context global_context_;
// Context global_context_; // ??
std::vector<Context> contexts_;
};