c.tmbundle icon indicating copy to clipboard operation
c.tmbundle copied to clipboard

[C++] highlighting may brake if there is macro at the top followed by a special string.

Open danilaml opened this issue 8 years ago • 0 comments

If it doesn't end on a semicolon (;) and is followed by string which includes semicolon everything past that is treated as part of the string. See (main is highlighted in blue):

MACRO_AT_THE_TOP()

const char *str =";";
void main() {
  return 0;
}

danilaml avatar Mar 30 '17 21:03 danilaml