Closed Bug 800616 Opened 12 years ago Closed 6 years ago

AST toSource on Hex string literal removes '0x'

Categories

(Rhino Graveyard :: Core, defect)

head
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: tntim96, Unassigned)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0.1
Build ID: 20120905151427

Steps to reproduce:

Parsed '0xff;' and then called to source from Rhino's Ast


Actual results:

ff;


Expected results:

0xff;
Attached file Patch for fix and test
Patch OK as far as test-suite concerned - all passed (5687 tests, 2 of them new).
Improvement on previous patch which didn't reset base at start of number processing.

Closing. Bug management is now done here:
https://github.com/mozilla/rhino

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: