@@ -17,7 +17,7 @@ ID [:_a-zA-Z][:_a-zA-Z.0-9]*
1717CHAR_LIT \' [!"#$%&()*+, -.:;<=>?@a -zA -Z[ \\\] ^_`0 -9 \t\r\n ]* \'
1818%%
1919
20- " div" { print (" OP" , yytext); return Cql2ParserBase::token::DIVINT; }
20+ DIV | div { print (" OP" , yytext); return Cql2ParserBase::token::DIVINT; }
2121
2222{DIGIT }+ {
2323 print (" DIGIT_INT" , yytext);
@@ -48,27 +48,27 @@ CHAR_LIT \'[!"#$%&()*+,-.:;<=>?@a-zA-Z[\\\]^_`0-9 \t\r\n]*\'
4848 return Cql2ParserBase::token::FALSE ;
4949}
5050
51- " AND" {
51+ AND| and {
5252 print (" BOOL_OP" , yytext);
5353 return Cql2ParserBase::token::AND;
5454}
5555
56- " OR " {
56+ OR | or {
5757 print (" BOOL_OP" , yytext);
5858 return Cql2ParserBase::token::OR;
5959}
6060
61- " NOT" {
61+ NOT| not {
6262 print (" BOOL_OP" , yytext);
6363 return Cql2ParserBase::token::NOT;
6464}
6565
66- " CASEI" {
66+ CASEI| casei {
6767 print (" " , yytext);
6868 return Cql2ParserBase::token::CASEI;
6969}
7070
71- " ACCENTI" {
71+ ACCENTI| accenti {
7272 print (" " , yytext);
7373 return Cql2ParserBase::token::ACCENTI;
7474}
@@ -144,7 +144,7 @@ BBOX"("[0-9. +\-,\n]+")" {
144144 return Cql2ParserBase::token::BBOX_TEXT;
145145}
146146
147- IN {
147+ IN| in {
148148 print (" IN_OP" , yytext);
149149 return Cql2ParserBase::token::IN;
150150}
163163 return Cql2ParserBase::token::IS_NOT_NULL;
164164}
165165
166- " LIKE" {
166+ LIKE| like {
167167 print (" LIKE_OP" , yytext);
168168 return Cql2ParserBase::token::LIKE;
169169}
172172 return Cql2ParserBase::token::NOT_LIKE;
173173}
174174
175- " BETWEEN" {
175+ BETWEEN| between {
176176 print (" LIKE_OP" , yytext);
177177 return Cql2ParserBase::token::BETWEEN;
178178}
0 commit comments