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 90864 - Syntax errors reported for hexadecimal constants
Summary: Syntax errors reported for hexadecimal constants
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-10 14:34 UTC by Jan Chalupa
Modified: 2009-02-27 14:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
A patch to the .nbs file that fixes the issue. (742 bytes, patch)
2006-12-14 16:56 UTC, Jan Chalupa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Chalupa 2006-12-10 14:34:55 UTC
2006-12-08 daily build.

Javascript parser reports error for lines with hexadecimal constants such as '0x80'.
Comment 1 Jan Chalupa 2006-12-14 16:56:15 UTC
Created attachment 36671 [details]
A patch to the .nbs file that fixes the issue.
Comment 2 Jan Chalupa 2006-12-14 16:57:16 UTC
The attached patch seems to fix the problem. Feel free to improve it.
Comment 3 Daniel Prusa 2006-12-15 13:45:09 UTC
Patch applied. In addition, js-number token definition extended also on octal
and floating point numbers.

/cvs/scripting/javascript/src/org/netbeans/modules/languages/javascript/JavaScript.nbs
new revision: 1.11; previous revision: 1.10
Comment 4 Lukasz Grela 2007-03-27 15:53:59 UTC
v.