bison-patches
[Top][All Lists]
Advanced

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

Re: type clash on default action: <NONE> != <>


From: Paul Eggert
Subject: Re: type clash on default action: <NONE> != <>
Date: Mon, 9 Dec 2002 14:20:00 -0800

> Date: Mon, 9 Dec 2002 11:57:59 +0100 (CET)
> From: =?iso-8859-2?Q?Martin_MOKREJ=A9?= <address@hidden>
> 
> Do you have Irix machine to test?

Sorry, no.  However, I reproduced your bug on my machine, so it's not
IRIX-specific.

> Unfortunately, that did NOT help!
> You find on the web updated bisonbug.tar.bz2 with the m4 files and
> bison binary.

The updated <http://pedant.gsf.de/bisonbug.tar.bz2> (with time stamp
2002-12-09 10:56:30 UTC) indicates that the patch wasn't installed
correctly on your box somehow.  Once the patch is installed correctly,
you should see the following changes to your m4.output file, and Bison
should no longer abort.  The key idea is that '@' is special in
m4.output, and the patch removes the unwanted occurrences of '@' that
come from your "/software/@sys/usr" prefix.

diff -pru bad/m4.output good/m4.output
--- bad/m4.output       2002-12-09 10:55:10.000000000 +0000
+++ good/m4.output      2002-12-09 22:10:56.814641239 +0000
@@ -149,7 +149,7 @@ typedef union {
   char *string;
   int number;
 } yystype;
-/* Line 195 of /software/@sys/usr/share/bison/yacc.c.  */
+/* Line 195 of yacc.c.  */
 #line @oline@ @ofile@
 # define YYSTYPE yystype
 # define YYSTYPE_IS_TRIVIAL 1
@@ -170,7 +170,7 @@ typedef struct yyltype
 /* Copy the second part of user declarations.  */
 
 
-/* Line 215 of /software/@sys/usr/share/bison/yacc.c.  */
+/* Line 215 of yacc.c.  */
 #line @oline@ @ofile@
 
 #if ! defined (yyoverflow) || YYERROR_VERBOSE
@@ -1128,7 +1128,7 @@ yyreduce:
 
     }
 
-/* Line 990 of /software/@sys/usr/share/bison/yacc.c.  */
+/* Line 990 of yacc.c.  */
 #line @oline@ @ofile@
 
   yyvsp -= yylen;
@@ -1414,7 +1414,7 @@ typedef union {
   char *string;
   int number;
 } yystype;
-/* Line 1224 of /software/@sys/usr/share/bison/yacc.c.  */
+/* Line 1224 of yacc.c.  */
 #line @oline@ @ofile@
 # define YYSTYPE yystype
 # define YYSTYPE_IS_TRIVIAL 1



reply via email to

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