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.
Example: #define EXPECT { int Exit_Flag; Exit_Flag = false; \ while (!Exit_Flag) { switch (i) { #define END_EXPECT } } } int main() { int i; EXPECT case 1: for (char *ptr = 0; *ptr != 0; ptr++) { } END_EXPECT return 1; }
Example 2: #define EXPECT { int Exit_Flag; Exit_Flag = false; \ while (!Exit_Flag) { switch (i) { #define END_EXPECT } } } int main() { int i; EXPECT case 1: int Exit_Flag2 = false; END_EXPECT return 1; }
*** Issue 168488 has been marked as a duplicate of this issue. ***
fixed http://hg.netbeans.org/cnd-main?cmd=changeset;node=7c6ee66fbc2e
Integrated into 'main-golden', will be available in build *200909190201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7c6ee66fbc2e User: Nick N. Krasilnikov <nnnnnk@netbeans.org> Log: fixed IZ#165961 : Unresolved ids in construction with macros