better-cpp-syntax icon indicating copy to clipboard operation
better-cpp-syntax copied to clipboard

C++ : surrounding a #define-d value with parentheses breaks highlighting

Open interrupt-routine opened this issue 4 years ago • 0 comments

Checklist

  • [x] This problem exists even with the setting "C_Cpp.enhancedColorization": "Disabled"
  • [ ] This bug exists for C
  • [x] This bug exists for C++
  • [ ] This bug exists for Objective-C
  • [ ] This bug exists for Objective-C++

The code with a problem is:

#define STRING ("abc")
#define NUMBER (10L)

It looks like:

Theme : Dark+ (Default dark) problem

It should look like:

correct

interrupt-routine avatar Jan 15 '21 09:01 interrupt-routine