We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9eb0b8c commit 7256001Copy full SHA for 7256001
1 file changed
sqlparse/engine/grouping.py
@@ -155,9 +155,10 @@ def _consume_cycle(tl, i):
155
# TODO: Usage of Wildcard token is ambivalent here.
156
x = itertools.cycle((
157
lambda y: (y.match(T.Punctuation, '.')
158
- or y.ttype is T.Operator
159
- or y.ttype is T.Wildcard
160
- or y.ttype is T.ArrayIndex),
+ or y.ttype in (T.Operator,
+ T.Wildcard,
+ T.ArrayIndex,
161
+ T.Name)),
162
lambda y: (y.ttype in (T.String.Symbol,
163
T.Name,
164
T.Wildcard,
0 commit comments