C pragmas syntax highlight bug

Péter Horváth 8 лет назад обновлен aahlborg 7 лет назад 1

If there is a string after the pragma with a comment between the quotation marks, all of the code after the closing quotation mark are highlighted as strings. with /* ... */ between the quotation marks


#pragma MESSAGES_COMMENT " /* Text 1234*/ "
int main()
  printf("Hello World");
  return 0;


with /* ... */ between the quotation marks:

without /* ... */ between the quotation marks:

This will also mess up highlighting in the rest of the file.

#warning "This is a \

multiline string."

Сервис поддержки клиентов работает на платформе UserEcho