diff --git a/sh/core/code.awk b/sh/core/code.awk index d6b54d6..ad854cf 100644 --- a/sh/core/code.awk +++ b/sh/core/code.awk @@ -124,6 +124,7 @@ function parse(string) { # module if (match(string, RE_MODULE)) { current_match = "module" + line = 0 module = strip_first(string, "#\\.") doc_reset() shebang = "" @@ -308,6 +309,7 @@ if (action == "doc") { } # ← main + line++ } # → end