aboutsummaryrefslogtreecommitdiff
path: root/src/parser.hpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-05-27 10:49:14 +0100
committergingerBill <bill@gingerbill.org>2018-05-27 10:49:14 +0100
commit7ee9051a56ca0c04e6b60f53b9dfe47c75596496 (patch)
tree619c13b7d86105fcfda13d315c0c315e7005630a /src/parser.hpp
parenteb11edabe092541144cd3ba18b09bd11fcf7a958 (diff)
IR now builds with the new package system
Diffstat (limited to 'src/parser.hpp')
-rw-r--r--src/parser.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser.hpp b/src/parser.hpp
index 686f3ed61..ed122baea 100644
--- a/src/parser.hpp
+++ b/src/parser.hpp
@@ -40,6 +40,7 @@ struct ImportedPackage {
};
struct AstFile {
+ isize id;
AstPackage * package;
Scope * scope;
@@ -104,6 +105,7 @@ struct Parser {
isize total_line_count;
gbMutex file_add_mutex;
gbMutex file_decl_mutex;
+ isize file_index;
};
enum ProcInlining {