Sublime Forum

C vs C++ syntax highlighting buglet, build 3103

#1

For this code, the syntax highlighter correctly highlights when applied as C syntax, but misses the highlight for the last “#endif” when treating it as C++.

#ifndef IGUARD_
#define IGUARD_
struct foo;
struct foo*  alloc_foo();
#endif

I’m running the Linux 64bit build on Ubuntu 14.04.3

0 Likes

#2

If you post an issue at https://github.com/sublimehq/Packages/issues, we can figure out what needs to be tweaked.

1 Like

#3

No prob, submitted at https://github.com/sublimehq/Packages/issues/145

PS. Congrats on hiring onto Sublime. Exciting news for the users!

0 Likes