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 120026

Summary: Bad format when define contents "{"
Product: cnd Reporter: Alexander Ioffe <aioffe>
Component: EditorAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Alexander Ioffe 2007-10-25 13:44:44 UTC
create code
#define START { int i=1; printf("START");
void foo() {
    
    boolean flag = false;
    if (flag) START
            return;
    int a;
}
}

Wrong formatting
Comment 1 Alexander Simon 2008-11-18 19:36:21 UTC
Most tools do not handle such code right.
Comment 2 Quality Engineering 2009-11-02 11:13:21 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX