Index: mojo/public/tools/bindings/pylib/parse/mojo_parser.py |
diff --git a/mojo/public/bindings/pylib/parse/mojo_parser.py b/mojo/public/tools/bindings/pylib/parse/mojo_parser.py |
similarity index 98% |
rename from mojo/public/bindings/pylib/parse/mojo_parser.py |
rename to mojo/public/tools/bindings/pylib/parse/mojo_parser.py |
index 3c021df5672ccf44a820e1affa370f0ebe6f820f..75e0e95063397f57383d78187ac3d1bc0111f175 100755 |
--- a/mojo/public/bindings/pylib/parse/mojo_parser.py |
+++ b/mojo/public/tools/bindings/pylib/parse/mojo_parser.py |
@@ -17,9 +17,10 @@ try: |
from ply import lex |
from ply import yacc |
except ImportError: |
+ # This assumes this file is in src/mojo/public/tools/bindings/pylib/parse/. |
module_path, module_name = os.path.split(__file__) |
third_party = os.path.join(module_path, os.pardir, os.pardir, os.pardir, |
- os.pardir, os.pardir, 'third_party') |
+ os.pardir, os.pardir, os.pardir, 'third_party') |
sys.path.append(third_party) |
# pylint: disable=F0401 |
from ply import lex |