X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=src%2Ffrontend%2Fgrammar.y;h=d5054854c3153a1298a238ad1bee2026a965cd51;hp=2173e6df1b383f1ce2ce58f849cb70c37aa021c2;hb=33d51d5f84495bc8d7805c2370af45948e46c30b;hpb=ea9e77cb6bee990c4087a8cefc9d8cc2311b39d1 diff --git a/src/frontend/grammar.y b/src/frontend/grammar.y index 2173e6d..d505485 100644 --- a/src/frontend/grammar.y +++ b/src/frontend/grammar.y @@ -302,6 +302,13 @@ matcher: * Parse matchers comparing object attributes with a value. */ compare_matcher: + IDENTIFIER op data + { + $$ = sdb_store_matcher_parse_cmp($1, NULL, $2, &$3); + free($1); $1 = NULL; + sdb_data_free_datum(&$3); + } + | IDENTIFIER '.' IDENTIFIER op data { $$ = sdb_store_matcher_parse_cmp($1, $3, $4, &$5);