mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-15 18:32:22 -07:00
Allow undefined --- as a struct field default value.
This commit is contained in:
+3
-1
@@ -166,7 +166,9 @@ bool is_operand_value(Operand o) {
|
||||
bool is_operand_nil(Operand o) {
|
||||
return o.mode == Addressing_Value && o.type == t_untyped_nil;
|
||||
}
|
||||
|
||||
bool is_operand_undef(Operand o) {
|
||||
return o.mode == Addressing_Value && o.type == t_untyped_undef;
|
||||
}
|
||||
|
||||
struct BlockLabel {
|
||||
String name;
|
||||
|
||||
Reference in New Issue
Block a user