Add @(entry_point_only) for procedures

This commit is contained in:
gingerBill
2024-01-05 13:38:30 +00:00
parent 70c5153471
commit 2820bbc269
5 changed files with 14 additions and 0 deletions
+3
View File
@@ -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;
}