aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-05-26 15:16:45 +0100
committergingerBill <bill@gingerbill.org>2019-05-26 15:16:45 +0100
commit5697d6df7466ef5f4e676f391c104ef165cadb6b (patch)
tree0ea6bf2619a510d97bc5ed19b8fd891740c334e1 /src/entity.cpp
parent426c1ed6f407bcfd3c98e266075f9e9f2cca711c (diff)
-go-to-definitions (OGTD file format)
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index 842cd5d8c..3318eac24 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -91,6 +91,7 @@ struct Entity {
Ast * identifier; // Can be nullptr
DeclInfo * decl_info;
DeclInfo * parent_proc_decl; // nullptr if in file/global scope
+ AstFile * file;
AstPackage *pkg;
// TODO(bill): Cleanup how `using` works for entities