diff --git a/src/lib/grammar.y b/src/lib/grammar.y index c08d7074..a97afc51 100644 --- a/src/lib/grammar.y +++ b/src/lib/grammar.y @@ -1490,7 +1490,7 @@ term: ANY { /* this is an unconditionally true expression, as a filter applies i } // TODO: - // ugly work around to match geo location "IN" to separate from token 'in' + // ugly quick work around to match geo location "IN" to separate from token 'in' // fix needs redesign of the filter code | dqual GEO IN { int slot = AddGeo($1.direction, "IN"); @@ -1498,6 +1498,18 @@ term: ANY { /* this is an unconditionally true expression, as a filter applies i YYABORT; $$.self = slot; } + dqual GEO ID { + int slot = AddGeo($1.direction, "ID"); + if ( slot == 0 ) + YYABORT; + $$.self = slot; + } + dqual GEO LT { + int slot = AddGeo($1.direction, "LT"); + if ( slot == 0 ) + YYABORT; + $$.self = slot; + } | dqual GEO STRING { int slot = AddGeo($1.direction, $3);