Sublime Forum

Syntax highlighting error for C language

#1

Create a new file, set the Syntax to C, and enter the following line

#define STR _T(x)

The first token after this line (if it is a keyword) will not be recognized.
But if round brackets of the macro definition go away, the keyword can be recognized.

Add:
In fact, it is all keywords of first statement after this line that cannot be recognized.

0 Likes