Tokenizing VariableName with escaped characters is not working #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hey @marijnh,
Currently, tokenizing variable names with escape characters are not working properly.
This should tokenize correctly:
var(--\\)as a CallExpression with VariableName that is equal to the--\\, according to the spec.We're slowly replacing our regex based parser with CodeMirror parser but this has blocked us for moving forward with replacing how we do custom property parsing. Failing test cases are here.
WDYT, can you take a look?
Attached patch should help (tagged 1.1.4).
whoa, thanks a lot for the quick fix! :)