From a00bf24ad555f8701607dae22fa39555d4da3bfa Mon Sep 17 00:00:00 2001 From: Andi Albrecht Date: Tue, 5 May 2009 07:01:39 +0200 Subject: * Added missing SET keyword. * IdentifierList.get_identifiers() now returns not only Identifier instances. --- sqlparse/engine/grouping.py | 1 + 1 file changed, 1 insertion(+) (limited to 'sqlparse/engine') diff --git a/sqlparse/engine/grouping.py b/sqlparse/engine/grouping.py index bdf2cd0..fd6af67 100644 --- a/sqlparse/engine/grouping.py +++ b/sqlparse/engine/grouping.py @@ -139,6 +139,7 @@ def group_identifier_list(tlist): lambda t: t.match(T.Keyword, 'null'), lambda t: t.ttype == T.Number.Integer, lambda t: t.ttype == T.String.Single, + lambda t: isinstance(t, Comparsion), ] tcomma = tlist.token_next_match(idx, T.Punctuation, ',') start = None -- cgit v1.2.1