Unexported struct fields

This commit is contained in:
Ginger Bill
2017-02-19 12:38:49 +00:00
parent 3cec2550d9
commit 6fdcbefe5d
5 changed files with 52 additions and 28 deletions
+2
View File
@@ -261,6 +261,7 @@ typedef struct DelayedDecl {
} DelayedDecl;
typedef struct CheckerContext {
Scope * file_scope;
Scope * scope;
DeclInfo * decl;
u32 stmt_state_flags;
@@ -1018,6 +1019,7 @@ void add_curr_ast_file(Checker *c, AstFile *file) {
c->curr_ast_file = file;
c->context.decl = file->decl_info;
c->context.scope = file->scope;
c->context.file_scope = file->scope;
}
}