tasks/lines
This commit is contained in:
parent
ef6311d3e3
commit
11a6603051
1 changed files with 4 additions and 2 deletions
|
@ -101,7 +101,9 @@ BEGIN {
|
|||
unique[extract($0, target)] = ""
|
||||
}
|
||||
} else if (action == "tasks") {
|
||||
line++
|
||||
if (match($0, RE_MODULE)) {
|
||||
line = 1
|
||||
if (output_tasks) {
|
||||
print ""
|
||||
print output_module
|
||||
|
@ -119,9 +121,9 @@ BEGIN {
|
|||
} else {
|
||||
match_task = 1
|
||||
}
|
||||
append($0)
|
||||
append(line ": " $0)
|
||||
} else if (match($0, RE_COMMENT)) {
|
||||
append($0)
|
||||
append(line ": " $0)
|
||||
} else {
|
||||
if (match_task) {
|
||||
output_tasks = output_tasks "\n" doc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue