From 3459c40cf9d17c6c791a86d387bba85e965c37b6 Mon Sep 17 00:00:00 2001 From: Mihai Bazon Date: Tue, 4 Sep 2012 13:17:13 +0300 Subject: if present, the `else` in an `if` should always be forced statement --- lib/output.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/output.js b/lib/output.js index 98bc983c..e5c1c26b 100644 --- a/lib/output.js +++ b/lib/output.js @@ -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); } -- cgit v1.2.3