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) {
|
||||
if (find(s, n.getPath()) >= 0)
|
||||
print_prop(n);
|
||||
if (n.getType() != "NONE" and find(s, "" ~ n.getValue()) >= 0)
|
||||
print_prop(n);
|
||||
foreach (var c; n.getChildren())
|
||||
search(c, s);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue