3 Commits

Author SHA1 Message Date
Matthias Mullie
09b83e9dbd Don't collapse newlines after 'continue'
Fixes #178
2017-06-13 17:54:31 +02:00
Matthias Mullie
5497bea3d1 Don't collapse line feeds after "return"
return is not guaranteed to be followed by a return value.
It could just be "return", followed by nothing (void return),
not even a semicolon, just line feed (ASI)
Whatever is next could, for example, be another operator.
We may just need ASI to kick in there, so keep the line feed
after return.

Fixes issue #54
2015-06-29 17:51:16 +02:00
Matthias Mullie
6a864c8c7c Major JS minifier rewrite 2014-10-07 18:21:22 +02:00