Support lower and mixed case operators

This commit is contained in:
Mathieu Darse
2015-04-09 15:14:34 +02:00
parent 7af53aaef4
commit 74686c67cd

View File

@@ -12,11 +12,11 @@
%token string:quoted [^"]+ %token string:quoted [^"]+
%token string:_quote " -> default %token string:_quote " -> default
// Operators // Operators (too bad we can't use preg "i" flag)
%token in IN %token in [Ii][Nn]
%token and AND %token and [Aa][Nn][Dd]
%token or OR %token or [Oo][Rr]
%token except EXCEPT %token except [Ee][Xx][Cc][Ee][Pp][Tt]
// Rest // Rest
%token collection collection %token collection collection