if present, the else in an if should always be forced statement

This commit is contained in:
Mihai Bazon
2012-09-04 13:17:13 +03:00
parent 86cfb5be86
commit 3459c40cf9

View File

@@ -649,7 +649,7 @@ function OutputStream(options) {
output.space();
output.print("else");
output.space();
self.alternative.print(output);
force_statement(self.alternative, output);
} else {
self._do_print_body(output);
}