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 217089 - "#define AAA 1 ## 0" line breaks parser
Summary: "#define AAA 1 ## 0" line breaks parser
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.3
Hardware: PC Solaris
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-20 09:22 UTC by soldatov
Modified: 2012-09-05 02:04 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 soldatov 2012-08-20 09:22:33 UTC
a lot of parser errors in valid C code:

#include <stdio.h>
int main() {
#define AAA 1 ## 0
    if (AAA == 10) {
        puts("OK");
    }
    return (0);
}
Comment 1 Vladimir Voskresensky 2012-09-04 11:01:18 UTC
fixed + test:
http://hg.netbeans.org/cnd-main/rev/ee58386bd4d0
Comment 2 Quality Engineering 2012-09-05 02:04:52 UTC
Integrated into 'main-golden', will be available in build *201209050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ee58386bd4d0
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #217089 - "#define AAA 1 ## 0" line breaks parser