summaryrefslogtreecommitdiff
path: root/sqlparse
diff options
context:
space:
mode:
Diffstat (limited to 'sqlparse')
-rw-r--r--sqlparse/engine/grouping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlparse/engine/grouping.py b/sqlparse/engine/grouping.py
index 132d06f..c8c2415 100644
--- a/sqlparse/engine/grouping.py
+++ b/sqlparse/engine/grouping.py
@@ -180,7 +180,7 @@ def group_identifier(tlist):
else:
if isinstance(t, sql.Comment) and t.is_multiline():
yield t
- raise StopIteration
+ return
def _next_token(tl, i):
# chooses the next token. if two tokens are found then the