]> git.phdru.name Git - sqlconvert.git/blobdiff - sqlconvert/process_tokens.py
Clean up StatementGrouper on close
[sqlconvert.git] / sqlconvert / process_tokens.py
index 8cf1fe5e73ffd005a717115fdbf8c114ffe24783..790bf53f8750bb27b5add60f8672989189169155 100644 (file)
@@ -75,4 +75,6 @@ class StatementGrouper(object):
                                     T.Newline, T.Whitespace)):
                 raise ValueError("Incomplete SQL statement: %s" %
                                  tokens)
+        self.lines = []
+        self.statements = []
         return tokens