Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve regex and string lexing in CoffeeScript lexer #1441

Merged

Conversation

pyrmont
Copy link
Contributor

@pyrmont pyrmont commented Feb 16, 2020

This PR contains changes to the CoffeeScript lexer that were originally submitted as part of #650. As discussed in that PR, the CoffeeScript changes are independent of the addition of a LiveScript lexer and so are submitted separately here.

The changes concern improvements to the lexing of regular expressions and strings (in particular the way that escaping is handled).

@pyrmont pyrmont self-assigned this Feb 16, 2020
@pyrmont pyrmont added the needs-review The PR needs to be reviewed label Feb 16, 2020
@pyrmont pyrmont mentioned this pull request Feb 16, 2020
@pyrmont pyrmont merged commit 3d7ee49 into rouge-ruby:master Feb 18, 2020
@pyrmont pyrmont removed the needs-review The PR needs to be reviewed label Feb 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants