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

Unified Diff: lib/html/scripts/idlparser.py

Issue 11230009: WebKit IDL are getting closer to the standard, but... (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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: lib/html/scripts/idlparser.py
diff --git a/lib/html/scripts/idlparser.py b/lib/html/scripts/idlparser.py
index 65ccdacacf9ed38cfd18e3bac1801b258ef23fda..fa905762574eac4cb28c0d308a667c4a23dabdcf 100755
--- a/lib/html/scripts/idlparser.py
+++ b/lib/html/scripts/idlparser.py
@@ -90,7 +90,7 @@ class IDLParser(object):
[MAYBE(ExtAttrs), 'interface', Id, MAYBE(_ParentInterfaces),
MAYBE(['{', MAYBE(MANY(_Member)), '}']), ';'],
# WebKit:
- [OR('interface', 'exception'), MAYBE(ExtAttrs), Id, MAYBE(_ParentInterfaces),
+ [MAYBE(ExtAttrs), OR('interface', 'exception'), MAYBE(ExtAttrs), Id, MAYBE(_ParentInterfaces),
MAYBE(['{', MAYBE(MANY(_Member)), '}']), MAYBE(';')],
# FremontCut:
[MAYBE(_Annotations), MAYBE(ExtAttrs), 'interface',
@@ -171,8 +171,10 @@ class IDLParser(object):
[MAYBE(ExtAttrs), MAYBE(Stringifier), MAYBE(ReadOnly),
'attribute', Type, Id, MAYBE(_AttrRaises), ';'],
# WebKit:
- [MAYBE(Stringifier), MAYBE(Static), MAYBE(ReadOnly), 'attribute',
- MAYBE(ExtAttrs), Type, Id, MAYBE(_AttrRaises), ';'],
+ [
+ MAYBE(Stringifier),
+ MAYBE(ExtAttrs), MAYBE(Static), MAYBE(ReadOnly), 'attribute', MAYBE(ExtAttrs),
+ Type, Id, MAYBE(_AttrRaises), ';'],
# FremontCut:
[MAYBE(_Annotations), MAYBE(ExtAttrs),
MAYBE(_AttrGetterSetter), MAYBE(Stringifier), MAYBE(ReadOnly),
« 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