X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fgrob-info.cc;h=6d57705f9f90f925e70ff1c53bf2690a3a630951;hb=7e72a1e50e94a7f9738d62599de79fe7745f600c;hp=9b4d540e0e74416a3716a645de672447017ae7d2;hpb=e33e199645b88d244f1f4fb43850c807cdc7dedc;p=lilypond.git diff --git a/lily/grob-info.cc b/lily/grob-info.cc index 9b4d540e0e..6d57705f9f 100644 --- a/lily/grob-info.cc +++ b/lily/grob-info.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2002 Han-Wen Nienhuys + (c) 1997--2004 Han-Wen Nienhuys */ #include "grob.hh" @@ -11,36 +11,29 @@ #include "music.hh" #include "translator-group.hh" -Grob_info::Grob_info (Grob*s_l) -{ - grob_l_ = s_l; - origin_trans_l_ = 0; -} - Grob_info::Grob_info () { - grob_l_ = 0; - origin_trans_l_ = 0; + grob_ = 0; + origin_trans_ = 0; } Music* Grob_info::music_cause () - { - SCM cause = grob_l_->get_grob_property ("cause"); + SCM cause = grob_->get_grob_property ("cause"); return unsmob_music (cause); } Link_array -Grob_info::origin_trans_l_arr (Translator* end) const +Grob_info::origin_transes (Translator* end) const { - Translator * t = origin_trans_l_; + Translator * t = origin_trans_; Link_array r; do { r.push (t); - t = t->daddy_trans_l_; - } while (t && t != end->daddy_trans_l_); + t = t->daddy_trans_; + } while (t && t != end->daddy_trans_); return r; }