bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bison Bug - Compiling Xfree86


From: Akim Demaille
Subject: Re: Bison Bug - Compiling Xfree86
Date: 10 Oct 2002 11:39:17 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

| xftgram.y:161.8-168.6: type clash (`' `ival') on default action
| xftgram.y:168.8: parse error, unexpected ":", expecting ";" or "|"
| xftgram.y:169.3-6: $$ or `matrix' has no declared type
| 
| This hapeens with bison 1.50, it works fine with bison 1.35. The file in
| question is attached and it's header file.

Thanks for the report.  You should sent it to the XFree86 team since:

    65  %type  <dval>   number

   161  matrix  :   OS number number number number CS
   162                  {
   163                      matrix.xx = $2;
   164                      matrix.xy = $3;
   165                      matrix.yx = $4;
   166                      matrix.__REALLY_YY__ = $5;
   167                  }

A `;' is missing here.

   168  number  :   INTEGER
   169                  { $$ = (double) $1; }
   170          |   DOUBLE
   171          ;

Bison 1.35 did complain :(

/tmp % /usr/bin/bison xftgram.y                                  nostromo 11:38
xftgram.y:172: warning: previous rule lacks an ending `;'
/tmp % /usr/bin/bison xftgram.y --version                        nostromo 11:39
bison (GNU Bison) 1.35

Copyright 1984, 1986, 1989, 1992, 2000, 2001, 2002
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]