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 235640

Summary: "pascal" not accepted as variable name
Product: cnd Reporter: Xypron
Component: Code ModelAssignee: petrk
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Screen shot

Description Xypron 2013-09-07 13:19:00 UTC
Created attachment 139791 [details]
Screen shot

Dear maintainer,

the following C program is shown in the Netbeans editor as erroneous:

#define CEXP 15
static int pascal[CEXP + 1][CEXP + 1];

In the second line an error "unable to resolve identifier pascal" is shown.

If I rename "pascal" to "foo" the error is not shown.

"pascal" is not a reserved keyword in C.

Best regards

Heinrich Schuchardt