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 246693 - c99 initializer, unexpected token: ==
Summary: c99 initializer, unexpected token: ==
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: PC Solaris
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-26 07:01 UTC by Alexander Simon
Modified: 2016-03-16 08:12 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 Alexander Simon 2014-08-26 07:01:14 UTC
C99 code:

int main() {
    int i = 1;
    if ((int) {i} == 1) return 1;
    return 0;
}
Comment 1 Alexander Simon 2015-10-01 09:47:49 UTC
Petr,
please reevaluate the target milestone or/and priority.
According target milestone and CR rules it must be fixed in NetBeans 8.1.
Comment 2 petrk 2015-10-27 16:41:15 UTC
Fixed at enum. Changeset: 303684:8943530cf145
Comment 3 Quality Engineering 2015-10-29 02:22:07 UTC
Integrated into 'main-silver', will be available in build *201510290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/062a0a6ab617
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #246693 - c99 initializer, unexpected token: ==
(transplanted from 8943530cf145c3b7de8d74d6e08df4bbb5677000)
Comment 4 Alexander Simon 2015-11-17 12:48:06 UTC
v.
Comment 5 soldatov 2015-11-20 12:01:35 UTC
Verified in NetBeans 8.1patch1