This commit is contained in:
Marc Beninca 2025-07-13 23:51:55 +02:00
parent a500200be0
commit 61f19f0025
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -194,14 +194,14 @@ BEGIN {
reset() reset()
} }
# others # others
} else if (match($0, RE_MODULE, m)) { } else if (match($0, RE_MODULE)) {
reset() reset()
if (m[1] == target) { if (extract($0, "module") == target) {
match_module = 1 match_module = 1
} }
} else if (match($0, re["function"], m)) { } else if (match($0, re["function"])) {
f = m[1] f = extract($0, "function")
} else if (match($0, RE_CLOSE, m)) { } else if (match($0, RE_CLOSE)) {
if (match_alias) { if (match_alias) {
print "= " target print "= " target
output(f, "function") output(f, "function")