[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: YYSTYPE_IS_TRIVIAL
From: |
Akim Demaille |
Subject: |
Re: YYSTYPE_IS_TRIVIAL |
Date: |
02 May 2002 14:48:59 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) |
| > 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 can bootstrap/make check Bash 2.05a with CVS Bison, which is
basically what the released 1.49a is.
| I'm still a bit confused by muscles etc. and by the bootstrapping
| process,
How can I help you?
| 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. */
It looks fine to me too, thanks Paul.
- Re: YYSTYPE_IS_TRIVIAL,
Akim Demaille <=