This commit is contained in:
Marc Beninca 2025-08-02 19:59:55 +02:00
parent 5d05a75a8d
commit 6815de4f22
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -124,6 +124,7 @@ function parse(string) {
# module # module
if (match(string, RE_MODULE)) { if (match(string, RE_MODULE)) {
current_match = "module" current_match = "module"
line = 0
module = strip_first(string, "#\\.") module = strip_first(string, "#\\.")
doc_reset() doc_reset()
shebang = "" shebang = ""
@ -308,6 +309,7 @@ if (action == "doc") {
} }
# ← main # ← main
line++
} }
# → end # → end