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

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

Issue 10317037: Make interface definitions accept both 'interface' and 'exception' as a keyword. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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/dom/scripts/idlparser.py
diff --git a/lib/dom/scripts/idlparser.py b/lib/dom/scripts/idlparser.py
index b7d93b6c87645942cf440d6a5f090f22632f1216..c2470c077aacab48ab9ed6544d3a066e5763e371 100755
--- a/lib/dom/scripts/idlparser.py
+++ b/lib/dom/scripts/idlparser.py
@@ -90,7 +90,7 @@ class IDLParser(object):
[MAYBE(ExtAttrs), 'interface', Id, MAYBE(_ParentInterfaces),
MAYBE(['{', MAYBE(MANY(_Member)), '}']), ';'],
# WebKit:
- ['interface', MAYBE(ExtAttrs), Id, MAYBE(_ParentInterfaces),
+ [OR('interface', 'exception'), MAYBE(ExtAttrs), Id, MAYBE(_ParentInterfaces),
MAYBE(['{', MAYBE(MANY(_Member)), '}']), MAYBE(';')],
# FremontCut:
[MAYBE(_Annotations), MAYBE(ExtAttrs), 'interface',
« 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