diff options
Diffstat (limited to 'lib/parse.js')
-rw-r--r-- | lib/parse.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/parse.js b/lib/parse.js index 5a07ef64..21e6055a 100644 --- a/lib/parse.js +++ b/lib/parse.js @@ -1638,6 +1638,7 @@ function parse($TEXT, options) { function maybe_await() { var start = S.token; if (!(S.in_async && is("name", "await"))) return maybe_unary(); + S.input.context().regex_allowed = true; next(); return new AST_Await({ start: start, |