Closed
Bug 742141
Opened 12 years ago
Closed 12 years ago
Need to support the 'float' type in the WebIDL parser
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: bzbarsky, Assigned: khuey)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
8.24 KB,
patch
|
justin.lebar+bug
:
review+
|
Details | Diff | Splinter Review |
Right now, the parser dies on it. Attached patch makes things work, but may be bogus.
Reporter | ||
Updated•12 years ago
|
Attachment #612067 -
Attachment description: Maybe patc → Maybe patch
Assignee | ||
Comment 1•12 years ago
|
||
The "Maybe patch" fixes this, but it's a step in the wrong direction because it makes float consts more broken than they already are. This patch doesn't make float consts any worse.
Attachment #612067 -
Attachment is obsolete: true
Attachment #619526 -
Flags: review?(justin.lebar+bug)
Comment 2•12 years ago
|
||
So FLOAT_ is the "float" keyword, while FLOAT is a floating-point literals? If so, can we indicate in the token names which are keywords and which are literals, by putting a prefix / suffix on the names? That would be helpful for sanity, I think. (It looks like the spec does this, using "Literal" as a suffix for the literals tokens.)
Comment 3•12 years ago
|
||
Comment on attachment 619526 [details] [diff] [review] Patch r=me, but I'd really prefer for us to change to a saner set of token names. But you can do that as a followup if you'd like...
Attachment #619526 -
Flags: review?(justin.lebar+bug) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Float and FloatLiteral sound good to me. The *Literal stuff is pretty new in the spec, I think.
Assignee | ||
Comment 5•12 years ago
|
||
http://hg.mozilla.org/users/khuey_mozilla.com/webidl-parser/rev/3e01e8dc99b6 http://hg.mozilla.org/mozilla-central/rev/f1a9dac39546
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•12 years ago
|
Flags: in-testsuite+
Target Milestone: --- → mozilla15
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•