1
0
Fork 0

also search value

This commit is contained in:
mfranz 2008-12-08 14:03:18 +00:00
parent 913635c47b
commit 59ff8c6129

View file

@ -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);
}