This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 147283 [details] sceen capture, nothing I have a compilable code like below. However, NB complains the syntax with unexpected token. As a result, it fails to parse through the rest of the file correctly. typedef struct { int a; } test_t; typedef struct { test_t t; } example_t; #define EXAMPLE \ { \ t : { \ a : 0 \ } \ }, \ { \ t : { \ a : 1 \ } \ } example_t example[] = { EXAMPLE }; printf("a0 = %d, a1 = %d\n", example[0].t.a, example[1].t.a);
Fixed in http://hg.netbeans.org/cnd-main/rev/895d1ceed577
Integrated into 'main-silver', will be available in build *201407250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/895d1ceed577 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #244524 - Unexpected token {