parent
44944f394f
commit
a500200be0
1 changed files with 8 additions and 6 deletions
|
@ -179,15 +179,17 @@ BEGIN {
|
||||||
match_command = 1
|
match_command = 1
|
||||||
}
|
}
|
||||||
# set
|
# set
|
||||||
} else if (match($0, re["constant"], m)) {
|
} else if (match($0, re["constant"])) {
|
||||||
if (m[1] == target) {
|
matched = extract($0, "constant")
|
||||||
output(m[1], "constant")
|
if (matched == target) {
|
||||||
|
output(matched, "constant")
|
||||||
} else {
|
} else {
|
||||||
reset()
|
reset()
|
||||||
}
|
}
|
||||||
} else if (match($0, re["variable"], m)) {
|
} else if (match($0, re["variable"])) {
|
||||||
if (m[1] == target) {
|
matched = extract($0, "variable")
|
||||||
output(m[1], "variable")
|
if (matched == target) {
|
||||||
|
output(matched, "variable")
|
||||||
} else {
|
} else {
|
||||||
reset()
|
reset()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue