aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorAndreas T Jonsson <mail@andreasjonsson.se>2024-05-10 09:04:52 +0200
committerAndreas T Jonsson <mail@andreasjonsson.se>2024-05-10 09:04:52 +0200
commitb72c2edabbc9087b07a30b781de1925d6570dd62 (patch)
tree0e96f43038901ec8c6f6b015071c1803a2166d41 /src/entity.cpp
parent273e4c6b4ce6f1060870782c8e780fe2b371ede4 (diff)
parent41bd8cf7143902db59c02c56fc5318a7e749d7a5 (diff)
Merge branch 'master' into netbsd
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index a12e1d0a6..60ca208ec 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -210,6 +210,7 @@ struct Entity {
CommentGroup *comment;
} Constant;
struct {
+ Ast *type_expr; // only used for some variables within procedure bodies
Ast *init_expr; // only used for some variables within procedure bodies
i32 field_index;
i32 field_group_index;
@@ -252,10 +253,8 @@ struct Entity {
bool is_foreign : 1;
bool is_export : 1;
bool generated_from_polymorphic : 1;
- bool target_feature_disabled : 1;
bool entry_point_only : 1;
bool has_instrumentation : 1;
- String target_feature;
} Procedure;
struct {
Array<Entity *> entities;
@@ -502,4 +501,4 @@ gb_internal bool is_entity_local_variable(Entity *e) {
return ((e->scope->flags &~ ScopeFlag_ContextDefined) == 0) ||
(e->scope->flags & ScopeFlag_Proc) != 0;
-} \ No newline at end of file
+}