projects
/
project
/
jsonpath.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lexer, parser, matcher: extend grammar to allow comma separated keys/indexes as more...
[project/jsonpath.git]
/
matcher.c
diff --git
a/matcher.c
b/matcher.c
index 9d2aa89e878ea715732a66e3f7a94c3b375c60ff..51e0e3c700002318067d714f253f1bee7cc134fc 100644
(file)
--- a/
matcher.c
+++ b/
matcher.c
@@
-164,6
+164,7
@@
jp_expr(struct jp_opcode *op, struct json_object *root, struct json_object *cur,
return true;
case T_OR:
+ case T_UNION:
for (sop = op->down; sop; sop = sop->sibling)
if (jp_expr(sop, root, cur, idx, key, cb, priv))
return true;