Open Bug 749774 Opened 12 years ago Updated 2 years ago

Warnings when build hits WebIDL.py: "Token 'WHITESPACE' defined, but not used", "Symbol 'OtherOrComma' is unreachable", etc

Categories

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

defect

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

(Blocks 1 open bug, )

Details

Filing bug on these warnings that get printed during builds now (at least on my linux clobber builds):
WARNING: Token 'WHITESPACE' defined, but not used
WARNING: /mozilla/dom/bindings/parser/WebIDL.py:2517: Rule 'OtherOrComma' defined, but not used
WARNING: There is 1 unused token
WARNING: There is 1 unused rule
WARNING: Symbol 'OtherOrComma' is unreachable
WARNING: Symbol 'Other' is unreachable

This shows up in tinderbox logs, too, e.g. here:
 https://tbpl.mozilla.org/php/getParsedLog.php?id=11265813&tree=Firefox

These warnings all appear to refer to issues in http://mxr.mozilla.org/mozilla-central/source/dom/bindings/parser/WebIDL.py

Marking as blocking bug 740069, since that bug added (at least some of) the lines of code in question.
Summary: Warning when build hits WebIDL.py: "Token 'WHITESPACE' defined, but not used", "Symbol 'OtherOrComma' is unreachable", etc → Warnings when build hits WebIDL.py: "Token 'WHITESPACE' defined, but not used", "Symbol 'OtherOrComma' is unreachable", etc
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.