Closed kelnos closed 1 year ago
GCC appears to support __attribute__ on enum values, e.g.
__attribute__
enum { SOME_THING = 0, OTHER_THING = 1, OLD_THING __attribute__(deprecated) = 2, };
Found this trying to parse a .c file that uses glib, and got a SyntaxError.
SyntaxError
Thank you!
GCC appears to support
__attribute__
on enum values, e.g.Found this trying to parse a .c file that uses glib, and got a
SyntaxError
.