X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=sqlconvert%2Fprocess_tokens.py;h=790bf53f8750bb27b5add60f8672989189169155;hb=8a3034769f6006936f2638715f457feeb27fba9d;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