| Index: client/dom/scripts/idlparser.py
|
| diff --git a/client/dom/scripts/idlparser.py b/client/dom/scripts/idlparser.py
|
| index 8e14eb8aacc64558b39bb8b084ab6bf92f382410..8f38365cc7aaa88ff07c46001fb8707bbdc5db99 100755
|
| --- a/client/dom/scripts/idlparser.py
|
| +++ b/client/dom/scripts/idlparser.py
|
| @@ -216,17 +216,21 @@ class IDLParser(object):
|
| def Operation():
|
| return syntax_switch(
|
| # Web IDL:
|
| - [MAYBE(ExtAttrs), MAYBE(Stringifier), MAYBE(_Specials),
|
| + [MAYBE(ExtAttrs), MAYBE(Static), MAYBE(Stringifier), MAYBE(_Specials),
|
| ReturnType, MAYBE(Id), '(', _Arguments, ')', MAYBE(Raises),
|
| ';'],
|
| # WebKit:
|
| - [MAYBE(ExtAttrs), ReturnType, MAYBE(Id), '(', _Arguments, ')',
|
| + [MAYBE(ExtAttrs), MAYBE(Static),
|
| + ReturnType, MAYBE(Id), '(', _Arguments, ')',
|
| MAYBE(Raises), ';'],
|
| # FremontCut:
|
| - [MAYBE(_Annotations), MAYBE(ExtAttrs), MAYBE(Stringifier),
|
| + [MAYBE(_Annotations), MAYBE(ExtAttrs), MAYBE(Static), MAYBE(Stringifier),
|
| MAYBE(_Specials), ReturnType, MAYBE(Id), '(', _Arguments, ')',
|
| MAYBE(Raises), ';'])
|
|
|
| + def Static():
|
| + return 'static'
|
| +
|
| def _Specials():
|
| return MANY(Special)
|
|
|
|
|