Index: client/dom/scripts/idlparser.py |
diff --git a/client/dom/scripts/idlparser.py b/client/dom/scripts/idlparser.py |
index 0dc59c691e6a208cd553785d6d158fbe82a1a00e..4d46a8e66bc21b4979c6c31bf86d649580f9464f 100755 |
--- a/client/dom/scripts/idlparser.py |
+++ b/client/dom/scripts/idlparser.py |
@@ -144,7 +144,7 @@ class IDLParser(object): |
# Web IDL: |
[MAYBE(ExtAttrs), 'const', Type, Id, '=', ConstExpr, ';'], |
# WebKit: |
- ['const', MAYBE(ExtAttrs), Type, Id, '=', ConstExpr, ';'], |
+ [OR(['const', MAYBE(ExtAttrs)], [MAYBE(ExtAttrs), 'const']), Type, Id, '=', ConstExpr, ';'], |
sra1
2012/03/07 18:13:52
line length - break at ", Type" ?
antonm
2012/03/07 18:39:50
Done.
|
# FremontCut: |
[MAYBE(_Annotations), MAYBE(ExtAttrs), 'const', Type, Id, '=', |
ConstExpr, ';']) |