Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: tools/idl_parser/idl_ppapi_parser.py

Issue 447543002: Introduce support for ExtendedAttributeIdentList in the IDL parser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/idl_parser/idl_parser.py ('k') | tools/idl_parser/test_parser/extattr_ppapi.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/idl_parser/idl_ppapi_parser.py
diff --git a/tools/idl_parser/idl_ppapi_parser.py b/tools/idl_parser/idl_ppapi_parser.py
index 639a8415ba62c4cb74fcd2d8805bfa7965e61a35..07963ea748ee6dd645a7739d13eb318c13c04c85 100755
--- a/tools/idl_parser/idl_ppapi_parser.py
+++ b/tools/idl_parser/idl_ppapi_parser.py
@@ -239,9 +239,11 @@ class IDLPPAPIParser(IDLParser):
# We only support:
# [ identifier ]
- # [ identifier = identifier ]
# [ identifier ( ArgumentList )]
# [ identifier ( ValueList )]
+ # [ identifier = identifier ]
+ # [ identifier = ( IdentifierList )]
+ # [ identifier = ConstValue ]
# [ identifier = identifier ( ArgumentList )]
# [51] map directly to 74-77
# [52-54, 56] are unsupported
@@ -250,6 +252,7 @@ class IDLPPAPIParser(IDLParser):
| ExtendedAttributeArgList
| ExtendedAttributeValList
| ExtendedAttributeIdent
+ | ExtendedAttributeIdentList
| ExtendedAttributeIdentConst
| ExtendedAttributeNamedArgList"""
p[0] = p[1]
« no previous file with comments | « tools/idl_parser/idl_parser.py ('k') | tools/idl_parser/test_parser/extattr_ppapi.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698