Peter C. McCluskey wrote:
> pbecker_at_meganesia.int.gu.edu.au (Peter Becker) writes: >
> > > I use RedHat 6.2 and don't see this problem. Did you install a nonstandard > version of bison?
Not that I am aware of, but this system has definiterly seen too many administrators and I am not used to RedHat. RPM says:
[pbecker_at_meganesia pbecker]$ rpm --query bison bison-1.28-2
The comments in the files getdate.c and bison.simple match this version number (1.28).
> Can you send us the relevant part of the getdate.c that is generated on > your system? It's probably near a "#line 286".
Isn't this the relevant part:
--------snip---------
#line 183 "getdate.y"
typedef union {
int Number;
enum _MERIDIAN Meridian;
} YYSTYPE;
#include <stdio.h>
--------snap---------
?
Here is the part you wanted:
--------snip---------
case 20:
#line 286 "getdate.y"
{
yyMonth = yyvsp[-2].Number; yyDay = yyvsp[0].Number; ; break;}
--------snap---------
The whole file is temporarly available as http://meganesia.int.gu.edu.au/~pbecker/getdate.c and the bison file can be found via http://meganesia.int.gu.edu.au/~pbecker/bison.simple -- I'll delete them in some days.
HTH,
Peter
PS: another thing that might be relevant:
[pbecker_at_meganesia hypermail-2.1.0]$ gcc --version egcs-2.91.66
at least a difference to the SuSE installations. Received on Mon 16 Apr 2001 02:53:05 AM GMT
This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:53 PM GMT GMT