gf
gf copied to clipboard
Incorrect syntax highlighting for multi-line macros
If we have for example the following snippet of code:
#define BREAKPOINT_COMMAND(function, action) \
void function(void *_index) { \
int index = (int) (intptr_t) _index; \
Breakpoint *breakpoint = &breakpoints[index]; \
char buffer[1024]; \
StringFormat(buffer, 1024, action " %d", breakpoint->number); \
DebuggerSend(buffer, true, false); \
}
Only the first line is highlighted with the correct color (i.e, ui.theme.codePreprocessor).