Version: unspecified OS: Linux Designated initializers from C99 are not supported by KDevelop. For example struct A { int a; int b; }; struct A a = { .a = 1, .b =3 }; will give "unexpected token" error. Reproducible: Always
I'm also getting this behavior, using KDevelop 4.2.2 (KDE Development Platform 4.6.2, according to About) on Ubuntu 11.04. The periods are red-underlined and their tooltips say "Problem in Parser: Unexpected token '.'".
*** This bug has been marked as a duplicate of bug 280591 ***