diff options
| author | gingerBill <bill@gingerbill.org> | 2018-05-27 00:10:38 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-05-27 00:10:38 +0100 |
| commit | eb11edabe092541144cd3ba18b09bd11fcf7a958 (patch) | |
| tree | 597112318141fb292872f9286e775ff66f5da797 /src/parser.hpp | |
| parent | c067b90403ab8493daa0bf5867b2bd92319feea5 (diff) | |
Add file scopes for the packages
Diffstat (limited to 'src/parser.hpp')
| -rw-r--r-- | src/parser.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.hpp b/src/parser.hpp index f1547847f..686f3ed61 100644 --- a/src/parser.hpp +++ b/src/parser.hpp @@ -41,7 +41,8 @@ struct ImportedPackage { struct AstFile { AstPackage * package; - // isize id; + Scope * scope; + String fullpath; gbArena arena; Tokenizer tokenizer; @@ -67,7 +68,6 @@ struct AstFile { AstNode * curr_proc; isize scope_level; - // Scope * scope; // NOTE(bill): Created in checker // DeclInfo * decl_info; // NOTE(bill): Created in checker |