I discovered a difference in behavior of bison 1.35 and bison 1.870.
In the file xkbcomp.y of the xfree86-4.2.1 release, there is a rule
that looks like the following in lines 422 and 515:

nonterm : rhs1 { action1 } | rhs2 { action2 } ; | rhs3 { action3 } ;

1.35 either ignores the first semicolon or generates wrong code,
but 1.870 flags that as an error, which should be the correct behavior.

To get xfree-4.2.1 to compile successfully, I just removed those
offending semicolons.  Also I decided to replace bison-1.35 with
bison-1.870.  By the way, 1.870 does not have the template files
bison.simple and bison.hairy anymore.

P~Manalastas

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to