[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bison ChangeLog
From: |
Paul Eggert |
Subject: |
bison ChangeLog |
Date: |
Mon, 18 Mar 2002 16:53:39 -0500 |
CVSROOT: /cvsroot/bison
Module name: bison
Branch: bison-1_29-branch
Changes by: Paul Eggert <address@hidden> 02/03/18 16:53:39
Modified files:
. : ChangeLog
Log message:
Fix the problem with union yyalloc and C++.
* src/bison.simple (union yyalloc, YYSTACK_GAP_MAX, YYSTACK_BYTES,
YYSTACK_RELOCATE): Do not define if yyoverflow is defined, or if
this is a C++ parser and YYSTYPE or YYLTYPE has nontrivial
constructors or destructors.
(yymemcpy) [! defined YYSTACK_RELOCATE]: Do not define; not needed.
(yyparse) [! defined YYSTACK_RELOCATE]: Do not relocate the stack.
* src/reader.c (parse_union_decl): Define YYSTYPE_IS_TRIVIAL if we
use our YYSTYPE. It must be trivial, or our own union wouldn't be
valid C++ anyway.
(readgram): Define YYSTYPE_IS_TRIVIAL if it is int.
(reader_output_yylsp): Define YYLTYPE_IS_TRIVIAL if we use our
YYLTYPE.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/ChangeLog.diff?only_with_tag=bison-1_29-branch&tr1=1.173.2.291&tr2=1.173.2.292&r1=text&r2=text
- bison ChangeLog, Akim Demaille, 2002/03/04
- bison ChangeLog, Akim Demaille, 2002/03/04
- bison ChangeLog,
Paul Eggert <=
- bison ChangeLog, Paul Eggert, 2002/03/19
- bison ChangeLog, Akim Demaille, 2002/03/20
- bison ChangeLog, Paul Eggert, 2002/03/20
- bison ChangeLog, Paul Eggert, 2002/03/20
- bison ChangeLog, Paul Eggert, 2002/03/20
- bison ChangeLog, Paul Eggert, 2002/03/20
- bison ChangeLog, Paul Eggert, 2002/03/20