New J2K: Fix do while loop spaces

This commit is contained in:
Ilya Kirillov
2018-11-14 19:44:22 +03:00
committed by Ilya Kirillov
parent b24d683ebe
commit 8f960f2f47
@@ -105,9 +105,9 @@ class NewCodeBuilder {
}
override fun visitDoWhileStatement(doWhileStatement: JKDoWhileStatement) {
printer.printWithNoIndent("do")
printer.printWithNoIndent("do ")
doWhileStatement.body.accept(this)
printer.printWithNoIndent("while (")
printer.printWithNoIndent(" while (")
doWhileStatement.condition.accept(this)
printer.printWithNoIndent(")")
}