[Webkit-unassigned] [Bug 44104] Refactor number parsing in the lexer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 17 06:15:24 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=44104





--- Comment #3 from Zoltan Herczeg <zherczeg at webkit.org>  2010-08-17 06:15:24 PST ---
Some thoughts:

There is still one got in the code, and I have no idea how to remove that.

Octal numbers seems unsupported in the newest ecmascript:

Past editions of ECMAScript have included additional syntax and semantics for specifying octal literals and octal escape sequences. These have been removed from this edition of ECMAScript.

And octal parsing looks strange to me:
01.1 is invalid, while 09.1 is a valid number (if an octal number followed by '8' or '9' it is considered as a decimal number.)

Although there are regression tests for the current parsing, thus I follow it right now.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list