commit | 3fa584b9fa30f5850427ef946d650e4f468d7de7 | [log] [tgz] |
---|---|---|
author | Joachim Bingel <joa.bingel@gmail.com> | Wed Dec 17 13:35:43 2014 +0000 |
committer | Joachim Bingel <joa.bingel@gmail.com> | Wed Dec 17 13:35:43 2014 +0000 |
tree | c4225ddbae0c3cd1fb82dc9e6c4efb36dd9b9556 | |
parent | ab1aff40b48f0033d9a16571796011a1b603780b [diff] |
towards better error handling
diff --git a/src/main/antlr/CollectionQuery.g4 b/src/main/antlr/CollectionQuery.g4 index f46bbbf..da73081 100644 --- a/src/main/antlr/CollectionQuery.g4 +++ b/src/main/antlr/CollectionQuery.g4
@@ -38,6 +38,7 @@ COLON : ':'; DASH : '-'; TILDE : '~'; +NEGTILDE : '!~'; SINCE : 'since'; UNTIL : 'until'; IN : 'in'; @@ -97,7 +98,7 @@ ; operator -: (NEG? EQ) | LT | GT | LEQ | GEQ | TILDE; +: (NEG? EQ) | LT | GT | LEQ | GEQ | TILDE | NEGTILDE; expr : constraint