Skip to content

Commit 5259780

Browse files
committed
Merge remote-tracking branch 'jbevain/fix-do-indentation'
2 parents 9c31279 + 68d4e94 commit 5259780

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/org/mozilla/javascript/ast/DoLoop.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ public void setWhilePosition(int whilePosition) {
100100
@Override
101101
public String toSource(int depth) {
102102
StringBuilder sb = new StringBuilder();
103+
sb.append(makeIndent(depth));
103104
sb.append("do ");
104105
sb.append(body.toSource(depth).trim());
105106
sb.append(" while (");

0 commit comments

Comments
 (0)