abusalimov/SublimeCImproved

Syntax highlighting loses scope with macros

digikata opened this issue · 3 comments

The following code has C Improved highlighting lose track of braces (works with default sublime C mode syntax highlighting):

int function1(int a, int b)
{
#ifdef CONFIG_SOMETHING
	if (a) {
#else
	if (b) {
#endif
		// do a thing
	}
	return 0;
}

// C Improved misses this highlight as a function
void function2(int c)
{
}

nvm looks like a retired repo

nvm looks like a retired repo

Yeah, sorry for that

No worries, thanks for working on C improved and posting it in the first place