diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-01-01 21:38:08 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-01-01 21:53:06 +0000 |
commit | c95f8d8ed4035cdbebfdfb1ff0c94e3958f3ebb9 (patch) | |
tree | a96861bd8be4ce2a2d38763d73f3804367a18838 /matcher.c | |
parent | 21634830501d0557e44fa5561f3f73e2b7c0ebc3 (diff) | |
download | jsonpath-c95f8d8ed4035cdbebfdfb1ff0c94e3958f3ebb9.tar.gz |
lexer, parser, matcher: extend grammar to allow comma separated keys/indexes as more readable alternative to or expressions
Diffstat (limited to 'matcher.c')
-rw-r--r-- | matcher.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |