Closed Bug 785459 Opened 13 years ago Closed 13 years ago

Enable the WebIDL parser to be used stand-alone for syntax checking

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

Details

Attachments

(1 file)

No description provided.
Attached patch Patch (v1)Splinter Review
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #655080 - Flags: review?(khuey)
Comment on attachment 655080 [details] [diff] [review] Patch (v1) Review of attachment 655080 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/bindings/parser/WebIDL.py @@ +3679,5 @@ > + if options.verbose_errors: > + traceback.print_exc() > + else: > + print e > + parser.finish() parser.finish() can throw too, say if you referenced an interface somewhere that was never defined.
Attachment #655080 - Flags: review?(khuey) → review+
Pushed a follow-up for python 2.5 compatibility: https://hg.mozilla.org/integration/mozilla-inbound/rev/f56f3d3f2c12
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: