diff --git a/sh/core/code.awk b/sh/core/code.awk index 2286f33..6136fb0 100644 --- a/sh/core/code.awk +++ b/sh/core/code.awk @@ -348,6 +348,8 @@ if (action == "doc") { # function } else if (action == "function") { + # TODO parse($0) + if (match($0, re["command"])) { doc_append(extract($0, "command")) } else if (match($0, re["function"])) { @@ -365,6 +367,8 @@ if (action == "doc") { # eval } else if (action == "eval") { + # TODO parse($0) + if (match($0, re[target])) { doc_append(extract($0, target)) } else if (match($0, re["function"])) {