diff options
| author | gingerBill <bill@gingerbill.org> | 2024-01-05 13:38:30 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-01-05 13:38:30 +0000 |
| commit | 2820bbc269bb989052163544f2764bc4287254e4 (patch) | |
| tree | b150a2af61c79dca0202609d37a8637084776df0 /src/checker.cpp | |
| parent | 70c5153471433bea6f3081ea3189613a02f54c6a (diff) | |
Add `@(entry_point_only)` for procedures
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index 79328d648..ac885222d 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -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; } |