Incorrect highlighting of comments following #error
/#warning
directives w/o message
#611
Closed
1 task done
#error
/#warning
directives w/o message
#611
Inline comments following
#error
and#warning
directives which do not include the optional message string are highlighted incorrectly.Checklist
"C_Cpp.enhancedColorization": "Disabled"
The code with a problem is:
It looks like:
Using "Dark+" theme:
It should look like:
Comments should be highlighted consistently regardless of whether or not the
#error
or#warning
directive is followed by a message.The text was updated successfully, but these errors were encountered: