Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire]XFree86 install problem

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire]XFree86 install problem
  • Date: Fri, 8 Nov 2002 02:49:53 -0800

that does appear to be the same error, in case someone reading this is
unfamiliar with bison, you have something like

expr : expr + expr
| expr - expr
...
;
mean an expression is an expresion + or - another expression and so on,
apparently someone forgot their semicolon because those two bison files
end up with

foo : bar
| baz

stuff : something else

and so it picks up the : from the previous unterminated section.

to make a patch (rough outline since my method apparently didnt work):
copy the file inquestion. fix the problem (add a semicolon so it looks like
the first example) then do a
diff -u broken fixed >mypatch
i add -c 5 for some context which may be cause for error.

we should just email the xfree86 people about this, unless of course we
are missing something in the build that somehow fixes this.

>
> However, there is now an error later on when compiling...
>
> make[3]: Entering directory `/usr/src/xc/programs/twm'
> flex -l -t lex.l > lex.c
> bison -y -d gram.y
> gram.y:657.9: parse error, unexpected ":", expecting ";" or "|"
> make[3]: *** [gram.c] Error 1

>




Archive powered by MHonArc 2.6.24.

Top of Page