| Index: tools/dom/scripts/idlparser.py
|
| diff --git a/tools/dom/scripts/idlparser.py b/tools/dom/scripts/idlparser.py
|
| index 01a19c2e0031bbaf5fccdde288ffb73031783635..d0fa56720ff18d448bb25f9dfd14248d344f40ae 100755
|
| --- a/tools/dom/scripts/idlparser.py
|
| +++ b/tools/dom/scripts/idlparser.py
|
| @@ -91,7 +91,7 @@ class IDLParser(object):
|
| '{', _Definitions, '}', MAYBE(';')])
|
|
|
| def CallbackDeclaration():
|
| - return [Callback, Type, '=', Type,'(', ')', ';']
|
| + return [Callback, Type, '=', Type,'(', _Arguments, ')', ';']
|
|
|
| def Callback():
|
| return ['callback']
|
| @@ -243,7 +243,7 @@ class IDLParser(object):
|
| [MAYBE(ExtAttrs), MAYBE(Optional), MAYBE('in'),
|
| MAYBE(Optional), Type, MAYBE(AnEllipsis), Id],
|
| # WebKit:
|
| - [MAYBE(ExtAttrs), MAYBE(Optional), Type, Id])
|
| + [MAYBE(ExtAttrs), MAYBE(Optional), Type, MAYBE(AnEllipsis), Id])
|
|
|
| def Optional():
|
| return 'optional'
|
|
|