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.

Bug 165961 - Unresolved ids in construction with macros
Summary: Unresolved ids in construction with macros
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker with 1 vote (vote)
Assignee: nnnnnk
URL:
Keywords:
: 168488 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-25 15:23 UTC by nnnnnk
Modified: 2009-09-19 10:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nnnnnk 2009-05-25 15:23:04 UTC
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;
}
Comment 1 nnnnnk 2009-05-25 16:07:27 UTC
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;
}
Comment 2 nnnnnk 2009-09-17 16:41:00 UTC
*** Issue 168488 has been marked as a duplicate of this issue. ***
Comment 4 Quality Engineering 2009-09-19 10:55:55 UTC
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