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

Unified Diff: mojo/public/tools/bindings/pylib/mojom/parse/parser.py

Issue 295973007: Mojo: Mojom: Change order of default values and ordinals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: mojo/public/tools/bindings/pylib/mojom/parse/parser.py
diff --git a/mojo/public/tools/bindings/pylib/mojom/parse/parser.py b/mojo/public/tools/bindings/pylib/mojom/parse/parser.py
index 342ac4a411a56071f9908d91d1253b659abec48b..4c55e0e8263f69235600eeb11e632cad7f066b99 100644
--- a/mojo/public/tools/bindings/pylib/mojom/parse/parser.py
+++ b/mojo/public/tools/bindings/pylib/mojom/parse/parser.py
@@ -138,8 +138,8 @@ class Parser(object):
p[0] = _ListFromConcat(p[1], p[2])
def p_field(self, p):
- """field : typename NAME default ordinal SEMI"""
- p[0] = ('FIELD', p[1], p[2], p[4], p[3])
+ """field : typename NAME ordinal default SEMI"""
+ p[0] = ('FIELD', p[1], p[2], p[3], p[4])
def p_default(self, p):
"""default : EQUALS expression

Powered by Google App Engine
This is Rietveld 408576698