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)] = ""
|
unique[extract($0, target)] = ""
|
||||||
}
|
}
|
||||||
} else if (action == "tasks") {
|
} else if (action == "tasks") {
|
||||||
|
line++
|
||||||
if (match($0, RE_MODULE)) {
|
if (match($0, RE_MODULE)) {
|
||||||
|
line = 1
|
||||||
if (output_tasks) {
|
if (output_tasks) {
|
||||||
print ""
|
print ""
|
||||||
print output_module
|
print output_module
|
||||||
|
@ -119,9 +121,9 @@ BEGIN {
|
||||||
} else {
|
} else {
|
||||||
match_task = 1
|
match_task = 1
|
||||||
}
|
}
|
||||||
append($0)
|
append(line ": " $0)
|
||||||
} else if (match($0, RE_COMMENT)) {
|
} else if (match($0, RE_COMMENT)) {
|
||||||
append($0)
|
append(line ": " $0)
|
||||||
} else {
|
} else {
|
||||||
if (match_task) {
|
if (match_task) {
|
||||||
output_tasks = output_tasks "\n" doc
|
output_tasks = output_tasks "\n" doc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue