[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Bug: Opening older files with build 20032703 (linux)
From: |
Jim Segrave |
Subject: |
Re: [Bug-gnubg] Bug: Opening older files with build 20032703 (linux) |
Date: |
Sun, 6 Jul 2003 15:02:04 +0200 |
User-agent: |
Mutt/1.2.5.1i |
On Sun 06 Jul 2003 (13:29 +0200), Achim Mueller wrote:
> Am Son, 2003-06-29 um 10.39 schrieb Jim Segrave:
> > On Sun 29 Jun 2003 (10:17 +0200), Achim Mueller wrote:
> > > Hi folks
> > >
> > > when opening files (sgf) with the current build I get an error message:
> > >
> > > sgf: parse error, unexpected $undefined,
> > > expecting PROPERTY or '('or')' or ';'
> > >
> > > Next message is:
> > >
> > > warning: no backgammon games in sgf file
> > >
> > > This only happens on linux systems, I just downloaded the latest build
> > > from Nardy, on windows it opens all sgf-files.
> >
> > I've already filed a bug report. You've got a recent version of bison
> > (I saw the bug with bison 1.7something). Going back to 1.35 fixes the
> > problem. There's some incompatibility between the most recent bison
> > and the .y files. Either the new bison has broken something or the .y
> > files make an unwarranted assumption (or both). I don't know which.
>
> I just installed bison-1.35 in my home directory. config.log says it's
> using bison-1.35, but I still get the error message shown above.
As Joseph noted, you need to get rid of sgfp.c (I'd advise doing a
make clean and running a fresh build).
Interestingly, I had other reasons to be looking at the sgf file
routines and thought I'd try to build a parser with debugging to see
what the problem was, and I was unable to reproduce it on my work
system (the original problem was on a colleagues work station and was
cured by replacing bison and doing a make clean;make).
--
Jim Segrave address@hidden