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

Unified Diff: client/dom/scripts/idlparser.py

Issue 9233032: IDL syntax - permit zero extended attributes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/scripts/idlparser.py
diff --git a/client/dom/scripts/idlparser.py b/client/dom/scripts/idlparser.py
index cf91ac26227f309e8dd915aadc2036101da9795a..fc223a0b0026c696fffd5c89a94318df355209ae 100755
--- a/client/dom/scripts/idlparser.py
+++ b/client/dom/scripts/idlparser.py
@@ -355,7 +355,7 @@ class IDLParser(object):
# Extended Attributes:
def ExtAttrs():
- return ['[', MANY(ExtAttr, ','), ']']
+ return ['[', MAYBE(MANY(ExtAttr, ',')), ']']
def ExtAttr():
return [Id, MAYBE(OR(['=', ExtAttrValue], ExtAttrArgList))]
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698