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

LegacyScanner: treat comment chars differently #3097

Merged
merged 4 commits into from
Mar 16, 2023

Conversation

kitbellew
Copy link
Contributor

Specifically, do not interpret unicode escapes, double quotes etc. Fixes #3095.

For now, putCommentChar calls nextChar but we will change that in the
next commit, because handling characters within comments is different.
Specifically, do not interpret unicode escapes, double quotes etc.
@kitbellew
Copy link
Contributor Author

@tgodzik not sure if this reached your inbox :)

@kitbellew kitbellew merged commit e01a87d into scalameta:main Mar 16, 2023
@kitbellew kitbellew deleted the 3095 branch March 16, 2023 17:01
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.

Unicode escape code in comment crashes scalafmt 3.7.2
2 participants