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/lexer.py

Issue 799113004: Update mojo sdk to rev 59145288bae55b0fce4276b017df6a1117bcf00f (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add mojo's ply to checklicenses whitelist Created 6 years 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/lexer.py
diff --git a/mojo/public/tools/bindings/pylib/mojom/parse/lexer.py b/mojo/public/tools/bindings/pylib/mojom/parse/lexer.py
index ef0a63e5d85a310de4eb033a724a7a542bf200df..476a66275782646ffda42fee4e678a77a3435259 100644
--- a/mojo/public/tools/bindings/pylib/mojom/parse/lexer.py
+++ b/mojo/public/tools/bindings/pylib/mojom/parse/lexer.py
@@ -19,7 +19,7 @@ def _GetDirAbove(dirname):
try:
imp.find_module("ply")
except ImportError:
- sys.path.append(os.path.join(_GetDirAbove("mojo"), "third_party"))
+ sys.path.append(os.path.join(_GetDirAbove("public"), "public/third_party"))
from ply.lex import TOKEN
from ..error import Error
@@ -56,6 +56,7 @@ class Lexer(object):
'IMPORT',
'MODULE',
'STRUCT',
+ 'UNION',
'INTERFACE',
'ENUM',
'CONST',
« no previous file with comments | « mojo/public/tools/bindings/pylib/mojom/parse/ast.py ('k') | mojo/public/tools/bindings/pylib/mojom/parse/parser.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698