mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 12:18:15 +00:00
Add require_results for proc groups
This commit is contained in:
@@ -3002,6 +3002,12 @@ gb_internal DECL_ATTRIBUTE_PROC(proc_group_attribute) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
} else if (name == "require_results") {
|
||||||
|
if (value != nullptr) {
|
||||||
|
error(elem, "Expected no value for '%.*s'", LIT(name));
|
||||||
|
}
|
||||||
|
ac->require_results = true;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user