Skip to content

Commit 27d2979

Browse files
committed
feat(parsing): handling 'macro' and '$' to define macros
1 parent d7aa750 commit 27d2979

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arkdoc/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ def compute(args) -> bool:
5959
for doc in p.extract_documentation():
6060
if doc.source == Source.ArkScript:
6161
kw, name, *args = doc.signature()
62-
if kw == "$":
63-
# macro!
62+
if kw == "$" or kw == "macro":
63+
# macro! (handling both $ and macro for retro compatibility for now (21/05/2025))
6464
functions.append(name)
6565
else:
6666
functions.append(prefix + ":" + name)

0 commit comments

Comments
 (0)