| Index: client/dom/scripts/idlparser.py
|
| diff --git a/client/dom/scripts/idlparser.py b/client/dom/scripts/idlparser.py
|
| index 8de223e20877f5f79ffd7421a8aab63e4196fcff..cf91ac26227f309e8dd915aadc2036101da9795a 100755
|
| --- a/client/dom/scripts/idlparser.py
|
| +++ b/client/dom/scripts/idlparser.py
|
| @@ -284,7 +284,7 @@ class IDLParser(object):
|
| return ScopedName
|
|
|
| def _Type():
|
| - return OR(AnyType, ObjectType, _NullableType)
|
| + return OR(AnyArrayType, AnyType, ObjectType, _NullableType)
|
|
|
| def _NullableType():
|
| return [OR(_IntegerType, BooleanType, OctetType, FloatType,
|
| @@ -300,6 +300,10 @@ class IDLParser(object):
|
| def AnyType():
|
| return 'any'
|
|
|
| + def AnyArrayType():
|
| + # TODO(sra): Do more general handling of array types.
|
| + return 'any[]'
|
| +
|
| def ObjectType():
|
| return 'object'
|
|
|
|
|