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 85002 - Parser ignore complex variables
Summary: Parser ignore complex variables
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-15 15:02 UTC by soldatov
Modified: 2008-07-16 10:37 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 2006-09-15 15:02:53 UTC
Open this C file (It is correct source file for GCC, but wrong for Sun C Compiler):

------------------------------------------------

#include <complex.h>
#include <stdio.h>

float complex f1 = 1.0 + 2.0i;
float complex f2 = 2.0 + 1.0i;
float complex f3;

int main() {
    f3 = f1 * f2;
    printf("%f%+fi", crealf(f3), cimagf(f3));
    return(0);
}

------------------------------------------------

Cann't find f1, f2 and f3 variables in Class View tab and Code Completion listbox.
Comment 1 Alexey Vladykin 2008-07-16 10:37:31 UTC
Fixed together with IZ#136729.