Packages icon indicating copy to clipboard operation
Packages copied to clipboard

[C/C++] Line continuation in some expressions inside macros not highlighted

Open deathaxe opened this issue 7 years ago • 1 comments

All expressions which push a context to stack cause the macro line continuation not to be highlighted which may cause the syntax of the expression to break due to the unexpected \ token.

Example:

# define CASE_4 case \
    4:

Related with #1333

deathaxe avatar Dec 06 '18 18:12 deathaxe

Also related: https://github.com/sublimehq/Packages/issues/1107

rwols avatar Dec 06 '18 19:12 rwols