mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-25 16:51:48 +00:00
Allow undefined --- as a struct field default value.
This commit is contained in:
@@ -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