Community
Participate
Working Groups
The indexer complains about the following code fragments (it detects a syntax error). --- enum Flags { FLAG1, FLAG2 }; int test(void) { int a,b; a = 0; b = (a?FLAG1:0)|FLAG2; return b; } int main(void) { return 0; } --- It doesn't like the "b" assignment.
fixed conversion of enumeration to int a bug in there caused problem with getting the result type of the expression a ? FLAG1 : 0
oh yeah, and the fix is in the HEAD branch
Thanks. Works now.
fix is now in 2.0.1