Index: Source/bindings/scripts/blink_idl_parser.py |
diff --git a/Source/bindings/scripts/blink_idl_parser.py b/Source/bindings/scripts/blink_idl_parser.py |
index 592bf91393d840809235f0440d3308fb23b978cd..181646353d700ea8754d78d57b86aa282be5bddc 100644 |
--- a/Source/bindings/scripts/blink_idl_parser.py |
+++ b/Source/bindings/scripts/blink_idl_parser.py |
@@ -254,7 +254,13 @@ class BlinkIDLParser(IDLParser): |
# ExceptionFields, and Attribute removed from this rule. |
p[0] = p[1] |
- # [b47.1] |
+ # [b47.1] FIXME: rename to ExceptionAttribute |
+ def p_Attribute(self, p): |
+ """Attribute : ReadOnly ATTRIBUTE Type identifier ';'""" |
+ p[0] = self.BuildNamed('Attribute', p, 4, |
+ ListFromConcat(p[1], p[3])) |
+ |
+ # [b47.2] |
def p_ExceptionOperation(self, p): |
"""ExceptionOperation : Type identifier '(' ')' ';'""" |
# Needed to handle one case in DOMException.idl: |