bison-patches
[Top][All Lists]
Advanced

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

Re: YYSTYPE_IS_TRIVIAL


From: Paul Eggert
Subject: Re: YYSTYPE_IS_TRIVIAL
Date: Fri, 26 Apr 2002 18:15:58 -0700 (PDT)

> From: Akim Demaille <address@hidden>
> Date: 25 Apr 2002 12:38:46 +0200
> 
> | I'll stop here for now, as I'm still not sure I'm building CVS Bison
> | correctly.  
> 
> Now, I hope it is definitely fixed.

Hmm, I still seem to be having problems.  What do I need to do to get
the fix?  Use the latest CVS Autoconf and Bison both?  Life on the
bleeding edge, I suppose.

I'm still a bit confused by muscles etc. and by the bootstrapping
process, but I think the following C-level patch should work OK, so I
installed it.

2002-04-26  Paul Eggert  <address@hidden>

        * data/bison.simple (YYSTYPE_IS_TRIVIAL, YYLTYPE_IS_TRIVIAL):
        Define if we define YYSTYPE and YYLTYPE, respectively.

--- bison.simple.~1.14.~        2002-04-24 09:22:56.000000000 -0700
+++ bison.simple        2002-04-26 18:06:14.368361000 -0700
@@ -142,6 +142,7 @@ m4_ifdef([b4_stype_line],
 ])dnl
 typedef b4_stype yystype;
 # define YYSTYPE yystype
+# define YYSTYPE_IS_TRIVIAL 1
 #endif
 
 #ifndef YYLTYPE
@@ -153,6 +154,7 @@ typedef struct yyltype
   int last_column;
 } yyltype;
 # define YYLTYPE b4_ltype
+# define YYLTYPE_IS_TRIVIAL 1
 #endif
 
 /* Copy the second part of user declarations.  */



reply via email to

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