Index: client/dom/scripts/idlparser.py |
diff --git a/client/dom/scripts/idlparser.py b/client/dom/scripts/idlparser.py |
index 26293fac2db5f40b9188d715d1d60639ac6278cb..b7d93b6c87645942cf440d6a5f090f22632f1216 100755 |
--- a/client/dom/scripts/idlparser.py |
+++ b/client/dom/scripts/idlparser.py |
@@ -144,8 +144,7 @@ class IDLParser(object): |
# Web IDL: |
[MAYBE(ExtAttrs), 'const', Type, Id, '=', ConstExpr, ';'], |
# WebKit: |
- [OR(['const', MAYBE(ExtAttrs)], [MAYBE(ExtAttrs), 'const']), |
- Type, Id, '=', ConstExpr, ';'], |
+ [MAYBE(ExtAttrs), 'const', Type, Id, '=', ConstExpr, ';'], |
# FremontCut: |
[MAYBE(_Annotations), MAYBE(ExtAttrs), 'const', Type, Id, '=', |
ConstExpr, ';']) |