mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-17 00:11:25 -07:00
INTERNAL USE ONLY: //+lazy build flag
This commit is contained in:
+8
-3
@@ -77,8 +77,16 @@ struct ImportedFile {
|
||||
isize index;
|
||||
};
|
||||
|
||||
enum AstFileFlag : u32 {
|
||||
AstFile_IsPrivate = 1<<0,
|
||||
AstFile_IsTest = 1<<1,
|
||||
AstFile_IsLazy = 1<<2,
|
||||
};
|
||||
|
||||
|
||||
struct AstFile {
|
||||
i32 id;
|
||||
u32 flags;
|
||||
AstPackage * pkg;
|
||||
Scope * scope;
|
||||
|
||||
@@ -114,9 +122,6 @@ struct AstFile {
|
||||
f64 time_to_tokenize; // seconds
|
||||
f64 time_to_parse; // seconds
|
||||
|
||||
bool is_private;
|
||||
bool is_test;
|
||||
|
||||
CommentGroup *lead_comment; // Comment (block) before the decl
|
||||
CommentGroup *line_comment; // Comment after the semicolon
|
||||
CommentGroup *docs; // current docs
|
||||
|
||||
Reference in New Issue
Block a user