mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 16:10:45 +00:00
loop mismatch problem fixed, do-while formatting fixed, added some code formatting properties
This commit is contained in:
@@ -81,7 +81,11 @@ public class IfItem extends GraphTargetItem implements Block {
|
||||
elseBranch = onTrue;
|
||||
}
|
||||
}
|
||||
writer.append("if(");
|
||||
writer.append("if");
|
||||
if (writer.getFormatting().spaceBeforeParenthesesIfParentheses) {
|
||||
writer.append(" ");
|
||||
}
|
||||
writer.append("(");
|
||||
expr.toString(writer, localData);
|
||||
writer.append(")").startBlock();
|
||||
for (GraphTargetItem ti : ifBranch) {
|
||||
|
||||
Reference in New Issue
Block a user