X-Git-Url: https://git.phdru.name/?p=sqlconvert.git;a=blobdiff_plain;f=demo%2Fdemo-process.py;h=1fe9809ffd59490f48616c8fa20e7b15950dd822;hp=a81f93ef1787cf1bae3658fa1a82a1ac757e8365;hb=2c9d316a8af92358221bada1361176e1bb227401;hpb=2c347af7a3bdfb0e23ba96b28150d4e83485cf74 diff --git a/demo/demo-process.py b/demo/demo-process.py index a81f93e..1fe9809 100755 --- a/demo/demo-process.py +++ b/demo/demo-process.py @@ -15,10 +15,10 @@ def process_lines(*lines): print("----- -----") if find_error(statement): print("ERRORS IN QUERY") - for statement in process_statement(statement): - print_tokens(statement, encoding='utf-8') + for _statement in process_statement(statement): + print_tokens(_statement, encoding='utf-8') print() - statement._pprint_tree() + _statement._pprint_tree() print("-----/-----") tokens = grouper.close() if tokens: