Chromium Code Reviews| Index: tools/idl_parser/idl_parser.py |
| diff --git a/tools/idl_parser/idl_parser.py b/tools/idl_parser/idl_parser.py |
| index 8a682ea688b6821d8993f8c52c8e9dcf6b78cc44..234f427a6cc982b718ce87df76e373013c345286 100755 |
| --- a/tools/idl_parser/idl_parser.py |
| +++ b/tools/idl_parser/idl_parser.py |
| @@ -434,6 +434,7 @@ class IDLParser(object): |
| # [30] |
| def p_AttributeOrOperation(self, p): |
| """AttributeOrOperation : STRINGIFIER StringifierAttributeOrOperation |
| + | StaticAttribute |
| | Attribute |
| | Operation""" |
| if len(p) > 2: |
| @@ -451,6 +452,12 @@ class IDLParser(object): |
| else: |
| p[0] = ListFromConcat(self.BuildAttribute('STRINGIFIER', p[1]), p[1]) |
| + # [XX] |
|
Nils Barth (inactive)
2014/06/16 06:59:40
Some comment like:
# [31.1] FIXME: temporary produ
|
| + def p_StaticAttribute(self, p): |
| + """StaticAttribute : STATIC Attribute""" |
| + p[2].AddChildren(self.BuildTrue('STATIC')) |
| + p[0] = p[2] |
| + |
| # [32] |
| def p_Attribute(self, p): |
| """Attribute : Inherit ReadOnly ATTRIBUTE Type identifier ';'""" |