-
Notifications
You must be signed in to change notification settings - Fork 28
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
Incorrect tokenization of multiline comments with whitespace #506
Comments
I think this is unfixable without the tree sitter. The #define uses the |
@jeff-hykin Apologies for not being involved for the last 6 months. The reason this breaks is that It should be possible to have |
You're good @matter123 , I've been gone for awhile, and I probably will be intermittent at best. I've gone back to just using master since it's too much effort with the branches when I have such short time. Thanks for the comment, I forgot there was a single line macro. Still sounds like a hack to me so I'll let you implement that one 😆. If there was a string with /* inside of it, seems like that would be a problem. |
Checklist
"C_Cpp.enhancedColorization": "Disabled"
The code with a problem is:
It looks like:
** screenshot + theme name preferable **
![image](https://user-images.githubusercontent.com/38270282/94551110-20c21c80-0255-11eb-9819-6a40902ef092.png)
It should look like:
Comments should span multiple lines.
Originally from @duzeev in microsoft/vscode#107565
The text was updated successfully, but these errors were encountered: