Version: 4.2.60 (using KDE 4.6.5) OS: Linux Given the structure: struct myStruct { int x; int y; }; Use name member initialization: struct myStruct mine = { .x=1, .y=2 }; The syntax highlighter shows an error at the "." of ".x". Also, code completion should work for the member names in the completion list. Reproducible: Didn't try Steps to Reproduce: Use named structure initialization as shown above. Actual Results: The parser does not recognize the syntax, flagging an error (red squiggly underline) at the first ".". Expected Results: Parser should not indicate an error. Code completion should offer member names as they are typed.
*** Bug 276128 has been marked as a duplicate of this bug. ***
I don't see errors in KDevelop 4.5.1 (Gentoo, KDE SC 4.11.2). Code completion is still unimplemented though.
I tried to reproduce the bug in KDevelop 5 - all displayed without errors. http://i.imgur.com/0SY7PXp.png Probably it is necessary to close.
Right, code parses fine now. We still lack the code completion part, though.