Skip to content

Commit

Permalink
undo bad change
Browse files Browse the repository at this point in the history
  • Loading branch information
msridhar authored and gbrail committed Dec 31, 2020
1 parent 46f81f9 commit b0a44a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/mozilla/javascript/Parser.java
Original file line number Diff line number Diff line change
Expand Up @@ -1597,9 +1597,9 @@ private Loop forLoop()
try {
AstNode body = getNextStatementAfterInlineComments(pn);
pn.setLength(getNodeEnd(body) - forPos);
restoreRelativeLoopPosition(pn);
pn.setBody(body);
} finally {
restoreRelativeLoopPosition(pn);
exitLoop();
}

Expand Down

0 comments on commit b0a44a2

Please sign in to comment.