X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fchange-iterator.cc;h=f70c2da47fcdd94410c1b1da34640cb403d9fc54;hb=90e4d7057f3857da049dfda3d130017d4719bd6b;hp=0f8823d484350fdb580998ba2895e2f0227bb7df;hpb=24107d843c902a8101fbb696f47bf7538dd4493a;p=lilypond.git diff --git a/lily/change-iterator.cc b/lily/change-iterator.cc index 0f8823d484..f70c2da47f 100644 --- a/lily/change-iterator.cc +++ b/lily/change-iterator.cc @@ -68,13 +68,9 @@ Change_iterator::change_to (Music_iterator &it, } else if (it.get_outlet ()->is_alias (to_type)) { - // No enclosing context was found because the iterator's immediate - // context is the kind that was sought. - /* We could change the current translator's id, but that would make - errors hard to catch. + // No enclosing context of the right kind was found + // and the iterator's immediate context is the kind that was sought. - last->translator_id_string () = get_change - ()->change_to_id_string (); */ result = _f ("not changing to same context type: %s", ly_symbol2string (to_type).c_str ()); } else