also search value
This commit is contained in:
parent
913635c47b
commit
59ff8c6129
1 changed files with 2 additions and 0 deletions
|
@ -283,6 +283,8 @@ var print_prop = func(n) {
|
||||||
var search = func(n, s) {
|
var search = func(n, s) {
|
||||||
if (find(s, n.getPath()) >= 0)
|
if (find(s, n.getPath()) >= 0)
|
||||||
print_prop(n);
|
print_prop(n);
|
||||||
|
if (n.getType() != "NONE" and find(s, "" ~ n.getValue()) >= 0)
|
||||||
|
print_prop(n);
|
||||||
foreach (var c; n.getChildren())
|
foreach (var c; n.getChildren())
|
||||||
search(c, s);
|
search(c, s);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue