mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-07 15:38:47 +00:00
going to change symbol table structure
This commit is contained in:
parent
9c25cb1c6f
commit
782a48c4ff
11 changed files with 535 additions and 354 deletions
|
|
@ -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_;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue