mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-31 11:50:07 +00:00
Change entity collection strategy
This commit is contained in:
+3
-1
@@ -1060,7 +1060,9 @@ void check_identifier(Checker *c, Operand *o, AstNode *n, Type *named_type, Cycl
|
||||
return;
|
||||
}
|
||||
o->value = e->Constant.value;
|
||||
GB_ASSERT(o->value.kind != ExactValue_Invalid);
|
||||
if (o->value.kind == ExactValue_Invalid) {
|
||||
return;
|
||||
}
|
||||
o->mode = Addressing_Constant;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user