adrian at cadifra.com
Wed Apr 30 10:07:04 CDT 2008
On 30.04.2008 15:11, Paul Moore wrote:
> On 30/04/2008, Adrian Buehlmann <adrian at cadifra.com> wrote:
>> How can I get rid of these yacc output lines?
> You need to run pyshyacc.py in the pysh directory before installing.
> That generates the pyshtables.py file. (I can't get it to work for me
> right now, but I'm pretty sure that's what Patrick told me to do on
Exactly. I did:
C:\Documents and Settings\adi\My Documents\hg-repos\pysh-official\pysh
> python pyshyacc.py
yacc: Generating LALR parsing table...
yacc: 153 shift/reduce conflicts
yacc: 1 reduce/reduce conflict
This created new files pyshtables.py and parser.out
> cd ..
> python setup.py build
copying pysh\pyshtables.py -> build\lib\pysh
> python setup.py install
copying build\lib\pysh\pyshtables.py -> C:\Python25\Lib\site-packages\pysh
byte-compiling C:\Python25\Lib\site-packages\pysh\pyshtables.py to pyshtables.pyc
Now these yacc test output diff lines are gone when doing "python run-tests.py"
in hg crew repo as well.
More information about the Mercurial-devel