fix: 对齐 ASTPrinter 中 loop 的输出(cond 和 step)
This commit is contained in:
parent
59fdc6b39e
commit
3b168a134a
@ -106,7 +106,7 @@ public class ASTPrinter {
|
||||
System.out.println(pad + "loop {");
|
||||
print(init, indent + 1);
|
||||
System.out.println(pad + " cond: " + cond);
|
||||
System.out.println(pad + " step: " + step);
|
||||
System.out.println(pad + " step: " + step);
|
||||
System.out.println(pad + " body {");
|
||||
for (StatementNode stmt : body) {
|
||||
print(stmt, indent + 2);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user