X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=sqlconvert%2Fprocess_tokens.py;h=790bf53f8750bb27b5add60f8672989189169155;hb=a8a222e1ecd38370eeb2a23d9761eacd959a2e2b;hp=8cf1fe5e73ffd005a717115fdbf8c114ffe24783;hpb=406e4920528c81461e2cbaff6f1c36c29b8167f5;p=sqlconvert.git diff --git a/sqlconvert/process_tokens.py b/sqlconvert/process_tokens.py index 8cf1fe5..790bf53 100644 --- a/sqlconvert/process_tokens.py +++ b/sqlconvert/process_tokens.py @@ -75,4 +75,6 @@ class StatementGrouper(object): T.Newline, T.Whitespace)): raise ValueError("Incomplete SQL statement: %s" % tokens) + self.lines = [] + self.statements = [] return tokens