From ac7f32644749ecdd1323229763342e31c384157c Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Tue, 22 Mar 2016 00:26:12 +0100 Subject: [PATCH] Fix support for <> in MS SQL filter parsing. Beware of the order of the parser attempts... See #365. --- src/sources/mssql/mssql-index-filters.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sources/mssql/mssql-index-filters.lisp b/src/sources/mssql/mssql-index-filters.lisp index 2a384f3..bc0d055 100644 --- a/src/sources/mssql/mssql-index-filters.lisp +++ b/src/sources/mssql/mssql-index-filters.lisp @@ -97,7 +97,7 @@ (defrule and-op (and (? whitespace) (~ "and") (? whitespace)) (:constant "and")) -(defrule mssql-operator (and (? whitespace) (or = <= < >= > <> !=)) +(defrule mssql-operator (and (? whitespace) (or = <> <= < >= > !=)) (:lambda (op) (second op))) (defrule number (+ (digit-char-p character)) (:text t))