Kenny F.
Kenny F.
See `finishNode` in common. TS file. Add start and if that solve the issue
cc @3cp Could you help out with this?
@tunnckoCore are you still in a urgent need for a fast TS parser? If so, is it ok it doesn't output any AST - only the parsed source stripped for...
Also take a look at this gist https://gist.github.com/KFlash/607303002b5b162e568ba84fa0c146ba See the last function. It extracts trailing and leading comments from the source based on the pos / range where you are...
@3cp I updated the first gist and included Hashbang comments. If no exclamation char (!) seen or not at start of line (pos === 0), it will break out of...
Just follow what the proposal says
Should be an easy fix? What about using the mutual parser flag for this if in function body, and if on top level use a variable outside the loop.
Give me 30 min to come up with a solution
It's an octal so you simply add a mutual parser flag in the number scanner and other places where octals occur. **Note** You need to reset that flag for each...
Open an ticket in the ECMA specs repo