You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This problem exists even with the setting "C_Cpp.enhancedColorization": "Disabled"
This bug exists for C
This bug exists for C++
This bug exists for Objective-C
This bug exists for Objective-C++
The code with a problem is:
#defineTCP_NOTSENT_LOWAT25/* Limit number of unsent bytes in write queue. */
#defineTCP_CC_INFO26/* Get Congestion Control (optional) info. */
#defineTCP_SAVE_SYN27/* Record SYN headers for new connections. */
#defineTCP_SAVED_SYN28/* Get SYN headers recorded for connection. */
@jeff-hykin Apologies for not being involved for the last 6 months.
The reason this breaks is that :single_line_macro matches as the line does not end in \
It should be possible to have :single_line_macro exclude lines that have /* that is not later succeeded by */. This would cause the macro matching to fall back to multi-line macro matching where the comment would be properly matched.
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: