tasks/function,eval
All checks were successful
/ job (push) Successful in 2m58s

This commit is contained in:
Marc Beninca 2025-08-03 23:08:51 +02:00
parent 18bc99c7c6
commit f5ba5bb3e9
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -348,6 +348,8 @@ if (action == "doc") {
# function # function
} else if (action == "function") { } else if (action == "function") {
# TODO parse($0)
if (match($0, re["command"])) { if (match($0, re["command"])) {
doc_append(extract($0, "command")) doc_append(extract($0, "command"))
} else if (match($0, re["function"])) { } else if (match($0, re["function"])) {
@ -365,6 +367,8 @@ if (action == "doc") {
# eval # eval
} else if (action == "eval") { } else if (action == "eval") {
# TODO parse($0)
if (match($0, re[target])) { if (match($0, re[target])) {
doc_append(extract($0, target)) doc_append(extract($0, target))
} else if (match($0, re["function"])) { } else if (match($0, re["function"])) {