fix output for certain edge cases
authorMihai Bazon <mihai@bazon.net>
Wed, 22 Aug 2012 10:20:05 +0000 (13:20 +0300)
committerMihai Bazon <mihai@bazon.net>
Wed, 22 Aug 2012 10:20:05 +0000 (13:20 +0300)
commitf53e139d3cfc9b2eab0239496181a9485728e066
treedf7a063077fdae47248508d6ae025fbee368006c
parentfb8c9e3a48501c0a49ec30ba0a60cad7053adc3f
fix output for certain edge cases

the statements if, for, do, while and with might have an AST_EmptyStatement
as body; if that's the case, we need to make sure that the semicolon gets in
the output.
lib/output.js