diff --git a/src/acorn/src/expression.js b/src/acorn/src/expression.js index 6f41722c50..9309f2e3e7 100755 --- a/src/acorn/src/expression.js +++ b/src/acorn/src/expression.js @@ -727,7 +727,7 @@ pp.parseAwait = function (node) { this.unexpected() } node.all = this.eat(tt.star) - node.argument = this.parseMaybeAssign(true) + node.argument = this.parseMaybeUnary() return this.finishNode(node, "AwaitExpression") };