Permalink
Browse files

Ported fix for minified DoWhile output for escodegen

  • Loading branch information...
1 parent 1ea3c1e commit 37d0e98b9cb83ae0b15d84a75a0e1a12df8c046b @rinon rinon committed Aug 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/escodegen.js
View
@@ -1049,7 +1049,7 @@
break;
case Syntax.DoWhileStatement:
- result = 'do' + maybeBlock(stmt.body);
+ result = join('do', maybeBlock(stmt.body));
result += maybeBlockSuffix(stmt.body, result);
result += 'while' + space + '(' + generateExpression(stmt.test, {
precedence: Precedence.Sequence,

0 comments on commit 37d0e98

Please sign in to comment.