Closed Bug 424439 Opened 16 years ago Closed 16 years ago

[gutter] Support FF quasi-octal numbers

Categories

(Tamarin Graveyard :: Self-hosting compiler (ESC), defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lhansen, Unassigned)

Details

Attachments

(1 file)

Firefox treats digit strings starting with 0 but containing 8 or 9 as decimal, eg "09".
Status: NEW → ASSIGNED
Other cases:

  0000008 => 8
  009.5 => 9.5

FF generates warnings for these.
More cases:
  00.3 => error (missing semicolon)
  035.3 => error (missing semicolon)

IOW, if it looks like an octal int then it is an octal int; only the digits 8 or 9 take us back into a mode where we are lexing a decimal number, and only then are . and e allowed.
Attached patch PatchSplinter Review
Attachment #311181 - Flags: review?(jodyer)
Attachment #311181 - Flags: review?(jodyer) → review+
Changeset 486:823d5884bbbc
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
That fix for some reason never made it into the repository.  New changeset: 491:4778587ed868
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: