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 - "pascal" not accepted as variable name
Summary: "pascal" not accepted as variable name
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-07 13:19 UTC by Xypron
Modified: 2016-10-31 10:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot (5.34 KB, image/png)
2013-09-07 13:19 UTC, Xypron
Details

Note You need to log in before you can comment on or make changes to this bug.
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