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

Fix comments in CoffeeScript lexer #1123

Merged
merged 1 commit into from
May 27, 2019

Conversation

pyrmont
Copy link
Contributor

@pyrmont pyrmont commented May 20, 2019

As discussed in #1045, the CoffeeScript lexer is not correctly lexing CoffeeScript comments that have a non-whitespace character after the ### comment delimiter. This commit fixes the regular expression used by the appropriate rule to be consistent with how this code should be parsed. This fixes #1045.

As discussed in rouge-ruby#1045, the CoffeeScript lexer is not correctly lexing
CoffeeScript comments that have a non-whitespace character after the
`###` comment delimiter. This commit fixes the regular expression used
by the appropriate rule to be consistent with how this code should be
parsed. This fixes rouge-ruby#1045.
@pyrmont pyrmont merged commit 694b2da into rouge-ruby:master May 27, 2019
@pyrmont pyrmont deleted the bugfix.coffeescript-comments branch January 8, 2020 20:05
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.

Coffeescript: Multiline comments
1 participant