aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2017-11-03 23:11:06 +0000
committergingerBill <bill@gingerbill.org>2017-11-03 23:11:06 +0000
commit0b29e42adb1a9eebec6c5ecc630be91a41af07f1 (patch)
treef908cc1a2489ff30ab69bc444bf4dfad98868adb /src/entity.cpp
parentfcc8b89e6b8f2df503ff19abbca67f8cbddf11dc (diff)
`link_prefix`; `thread_local`; fix `link_name` for file-scope variables
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index de0922650..b84d9a7e0 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -90,6 +90,7 @@ struct Entity {
Entity * foreign_library;
AstNode * foreign_library_ident;
String link_name;
+ String link_prefix;
} Variable;
struct {
bool is_type_alias;
@@ -98,6 +99,7 @@ struct Entity {
struct {
OverloadKind overload_kind;
String link_name;
+ String link_prefix;
u64 tags;
bool is_export;
bool is_foreign;