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

Summary: Parser ignore complex variables
Product: cnd Reporter: soldatov <soldatov>
Component: Code ModelAssignee: Vladimir Kvashin <vkvashin>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.