diff --git a/acorn.js b/acorn.js index c246fa8f37..f82b9753fd 100644 --- a/acorn.js +++ b/acorn.js @@ -2734,6 +2734,7 @@ if (this.eat(tt.star)) { this.expectContextual("from"); node.source = this.type === tt.string ? this.parseExprAtom() : this.unexpected(); + this.semicolon(); return this.finishNode(node, "ExportAllDeclaration"); } if (this.eat(tt._default)) { // export default ...;