diff --git a/README.md b/README.md index d2f50ebf..2af8aa64 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,11 @@
+## Surfly notes + +We use meriyah directly from `dist/meriyah.umd.js`. +Therefore, after each change we need to compile updated version with `npm run bundle` and commit it. + ## [Demo](https://meriyah.github.io/meriyah) ## Features diff --git a/dist/meriyah.umd.js b/dist/meriyah.umd.js index 38e9d2b0..49aabd88 100644 --- a/dist/meriyah.umd.js +++ b/dist/meriyah.umd.js @@ -8691,7 +8691,8 @@ if (parser.token === 537079928) report(parser, 116); value = parsePrimaryExpression(parser, context | 16384, 2, 0, 1, 0, 0, 1, tokenPos, linePos, colPos); - if ((parser.token & 1073741824) !== 1073741824) { + if ((parser.token & 1073741824) !== 1073741824 || + (parser.token & 4194304) === 4194304) { value = parseMemberOrUpdateExpression(parser, context | 16384, value, 0, 0, tokenPos, linePos, colPos); value = parseAssignmentExpression(parser, context | 16384, 0, 0, tokenPos, linePos, colPos, value); if (parser.token === 18) {