Kenny F.
Kenny F.
Meriyah. Seafox is just experimental to see and understand what my students did wrong. Meriyah have support for jSX, comment extraction etc. Seafox doesn't support this.
Can't you just create a new option? Name it `thorn`. Then you can do the same as you do for the other options `if (options.thorn) context | Context.OptionsThorn | OptionsPreserveParens...
@3cp It will be very challenging to fix this without a lookahead ...
I think you can throw an error if you pass down an context mask or something. In the future I will figure out how to solve it without a lookahead,...
@3cp It's possible to solve this without a lookahead. Just return the 'async' identifier if you see the 'of' keyword and deal with the rest of the logic in 'parseForStatement'....