summaryrefslogtreecommitdiff
path: root/sqlparse
diff options
context:
space:
mode:
Diffstat (limited to 'sqlparse')
-rw-r--r--sqlparse/filters.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sqlparse/filters.py b/sqlparse/filters.py
index 9c0a476..676344f 100644
--- a/sqlparse/filters.py
+++ b/sqlparse/filters.py
@@ -347,6 +347,7 @@ class ReindentFilter:
nl = self.nl()
added.add(nl)
tlist.insert_before(token, nl)
+ offset += 1
token = _next_token(tlist.token_index(nl) + offset)
def _split_statements(self, tlist):