Add EXISTS, ILIKE, DISTINCT to KEYWORDS (closes #165898)

authorDenis Laxalde <denis.laxalde@logilab.fr>
changeset042ea5e6e08c
branchstable
phasepublic
hiddenno
parent revision#2218f38af251 [pkg] Add an env var to force building the binary extension
child revision#134b04defd20 remove has_key usage
files modified by this revision
utils.py
# HG changeset patch
# User Denis Laxalde <denis.laxalde@logilab.fr>
# Date 1375898873 -7200
# Wed Aug 07 20:07:53 2013 +0200
# Branch stable
# Node ID 042ea5e6e08cba1f6523c17641f72df4d55d8f4e
# Parent 2218f38af2519d6a3ae84e0781577a961ede5e88
Add EXISTS, ILIKE, DISTINCT to KEYWORDS (closes #165898)

diff --git a/utils.py b/utils.py
@@ -59,11 +59,11 @@
1          raise StopIteration()
2 
3  KEYWORDS = set(('INSERT', 'SET', 'DELETE',
4                  'UNION', 'WITH', 'BEING',
5                  'WHERE', 'AND', 'OR', 'NOT'
6 -                'IN', 'LIKE',
7 +                'IN', 'LIKE', 'ILIKE', 'EXISTS', 'DISTINCT',
8                  'TRUE', 'FALSE', 'NULL', 'TODAY',
9                  'GROUPBY', 'HAVING', 'ORDERBY', 'ASC', 'DESC',
10                  'LIMIT', 'OFFSET'))
11 
12