mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-28 18:16:24 +00:00
Add @(entry_point_only) for procedures
This commit is contained in:
@@ -3413,6 +3413,9 @@ gb_internal DECL_ATTRIBUTE_PROC(proc_decl_attribute) {
|
||||
error(elem, "Expected a string value for '%.*s'", LIT(name));
|
||||
}
|
||||
return true;
|
||||
} else if (name == "entry_point_only") {
|
||||
ac->entry_point_only = true;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user