diff options
Diffstat (limited to 'src/entity.cpp')
| -rw-r--r-- | src/entity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entity.cpp b/src/entity.cpp index fb65bc3a8..9f3b8f84d 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -120,7 +120,7 @@ struct Entity { Token token; Scope * scope; Type * type; - Ast * identifier; // Can be nullptr + std::atomic<Ast *> identifier; // Can be nullptr DeclInfo * decl_info; DeclInfo * parent_proc_decl; // nullptr if in file/global scope AstFile * file; |