Permalink
Browse files

Merge remote-tracking branch 'jbevain/fix-do-indentation'

  • Loading branch information...
2 parents 9c31279 + 68d4e94 commit 5259780093cdb2ed5e9991e8fd76072423ffdf9b @hns hns committed Jun 1, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/org/mozilla/javascript/ast/DoLoop.java
@@ -100,6 +100,7 @@ public void setWhilePosition(int whilePosition) {
@Override
public String toSource(int depth) {
StringBuilder sb = new StringBuilder();
+ sb.append(makeIndent(depth));
sb.append("do ");
sb.append(body.toSource(depth).trim());
sb.append(" while (");

0 comments on commit 5259780

Please sign in to comment.