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

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

Issue 9669037: Fix idlparser.py: const should always go after ext attrs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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 26293fac2db5f40b9188d715d1d60639ac6278cb..b7d93b6c87645942cf440d6a5f090f22632f1216 100755
--- a/client/dom/scripts/idlparser.py
+++ b/client/dom/scripts/idlparser.py
@@ -144,8 +144,7 @@ class IDLParser(object):
# Web IDL:
[MAYBE(ExtAttrs), 'const', Type, Id, '=', ConstExpr, ';'],
# WebKit:
- [OR(['const', MAYBE(ExtAttrs)], [MAYBE(ExtAttrs), 'const']),
- Type, Id, '=', ConstExpr, ';'],
+ [MAYBE(ExtAttrs), 'const', Type, Id, '=', ConstExpr, ';'],
# FremontCut:
[MAYBE(_Annotations), MAYBE(ExtAttrs), 'const', Type, Id, '=',
ConstExpr, ';'])
« 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