Merge branch 'master' into development

This commit is contained in:
Sebastian McKenzie
2015-08-11 01:05:04 +01:00
4 changed files with 124 additions and 2 deletions

View File

@@ -786,7 +786,7 @@ export default class Tokenizer {
return lineBreak.test(this.input.slice(this.state.lastTokEnd, this.state.start));
}
if (prevType === tt._else || prevType === tt.semi || prevType === tt.eof) {
if (prevType === tt._else || prevType === tt.semi || prevType === tt.eof || prevType === tt.parenR) {
return true;
}