diff options
author | Andi Albrecht <albrecht.andi@gmail.com> | 2013-04-06 10:11:20 +0200 |
---|---|---|
committer | Andi Albrecht <albrecht.andi@gmail.com> | 2013-04-06 10:11:20 +0200 |
commit | 2150a0aaef8366c97fa4260d3ba376b211981668 (patch) | |
tree | 4c10f8196781175b5f3461582e46e379471f0de2 /sqlparse | |
parent | 341143e294c842d700dfd3c6a6224c05d8b8b8d6 (diff) | |
download | sqlparse-2150a0aaef8366c97fa4260d3ba376b211981668.tar.gz |
Allow keywords in identifier lists (fixes #10).
Diffstat (limited to 'sqlparse')
-rw-r--r-- | sqlparse/engine/grouping.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sqlparse/engine/grouping.py b/sqlparse/engine/grouping.py index d03e483..d60ee5a 100644 --- a/sqlparse/engine/grouping.py +++ b/sqlparse/engine/grouping.py @@ -213,6 +213,7 @@ def group_identifier_list(tlist): lambda t: t.ttype == T.Number.Integer, lambda t: t.ttype == T.String.Single, lambda t: t.ttype == T.Name.Placeholder, + lambda t: t.ttype == T.Keyword, lambda t: isinstance(t, sql.Comparison), lambda t: isinstance(t, sql.Comment), ] |