[pypy-commit] pypy default: Fix the path here too. Without this, lextab.py and yacctab.py are

arigo noreply at buildbot.pypy.org
Wed Apr 3 13:32:57 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r62972:1177ea45623b
Date: 2013-04-03 13:34 +0200
http://bitbucket.org/pypy/pypy/changeset/1177ea45623b/

Log:	Fix the path here too. Without this, lextab.py and yacctab.py are
	regenerated, which is a waste of time. Now test_zintegration
	passes.

diff --git a/lib_pypy/cffi/_pycparser/c_parser.py b/lib_pypy/cffi/_pycparser/c_parser.py
--- a/lib_pypy/cffi/_pycparser/c_parser.py
+++ b/lib_pypy/cffi/_pycparser/c_parser.py
@@ -20,9 +20,9 @@
     def __init__(
             self, 
             lex_optimize=True,
-            lextab='pycparser.lextab',
+            lextab='cffi._pycparser.lextab',
             yacc_optimize=True,
-            yacctab='pycparser.yacctab',
+            yacctab='cffi._pycparser.yacctab',
             yacc_debug=False):
         """ Create a new CParser.
         


More information about the pypy-commit mailing list