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

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

Issue 247363003: Update mojom parser to allow array of arrays. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix js unit tests Created 6 years, 8 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 | « mojo/public/interfaces/bindings/tests/sample_service.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6f0a23a3aefb67719a5ef899456ef3a863e1904d..33af7d90c6e08ed9fc47b772c6cb9fead000c136 100755
--- a/mojo/public/tools/bindings/pylib/mojom/parse/parser.py
+++ b/mojo/public/tools/bindings/pylib/mojom/parse/parser.py
@@ -215,7 +215,7 @@ class Parser(object):
p[0] = p[1]
def p_array(self, p):
- """array : basictypename LBRACKET RBRACKET"""
+ """array : typename LBRACKET RBRACKET"""
p[0] = p[1] + "[]"
def p_ordinal(self, p):
« no previous file with comments | « mojo/public/interfaces/bindings/tests/sample_service.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698