]> git.saurik.com Git - bison.git/commit - ChangeLog-2012
Don't memcpy C++ structures.
authorAkim Demaille <demaille@gostai.com>
Mon, 21 Jul 2008 20:02:36 +0000 (22:02 +0200)
committerAkim Demaille <demaille@gostai.com>
Tue, 4 Nov 2008 20:43:28 +0000 (21:43 +0100)
commit4af4348a3f5f6b5c4e537edd09f5fe9cf30e9eb6
treee0d2e578c875eae5eab382d629abb25b633f60fc
parentef05c4d6f94bb2737b46bdef5fcfefd7469873d9
Don't memcpy C++ structures.

* data/lalr1-fusion.cc (b4_symbol_variant): Adjust additional
arguments.
(variant::build): New overload for
copy-construction-that-destroys.
(variant::swap): New.
(parser::yypush_): Use it in variant mode.
ChangeLog
data/lalr1-fusion.cc