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

Summary: Syntax errors reported for hexadecimal constants
Product: javascript Reporter: Jan Chalupa <jchalupa>
Component: EditorAssignee: Daniel Prusa <dprusa>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: A patch to the .nbs file that fixes the issue.

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.