From: Han-Wen Nienhuys Date: Wed, 1 Feb 2006 00:00:39 +0000 (+0000) Subject: (Prob): copy type_ too. X-Git-Tag: release/2.7.31~32 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=dba94c1a212aaf76a1f75496056d6a2466a5bd1a;p=lilypond.git (Prob): copy type_ too. --- diff --git a/ChangeLog b/ChangeLog index 1e02e32a4a..91a89e14d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-02-01 Han-Wen Nienhuys + * lily/prob.cc (Prob): copy type_ too. + * lily/lily-guile.cc (mangle_cxx_identifier): new function. Class_bla::foo_bar_[px] -> ly:class-bla::foo-bar[?!]. Changes throughout diff --git a/lily/prob.cc b/lily/prob.cc index c3c95bb760..6e6f9b98fc 100644 --- a/lily/prob.cc +++ b/lily/prob.cc @@ -34,6 +34,7 @@ Prob::Prob (Prob const &src) immutable_property_alist_ = src.immutable_property_alist_; mutable_property_alist_ = SCM_EOL; self_scm_ = SCM_EOL; + type_ = src.type_; /* First we smobify_self, then we copy over the stuff. If we don't, stack vars that hold the copy might be optimized away, meaning