]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/sequential-music-iterator.cc
2003 -> 2004
[lilypond.git] / lily / sequential-music-iterator.cc
index 6446ea9fee46d29062534631393ca315b6bb0531..c3092876992e2e3b26df8b3b25473df99211504e 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #include "translator-group.hh"
 #include "sequential-music-iterator.hh"
 #include "music-list.hh"
 
-/*
-  move to context of child iterator if it is deeper down in the
-  hierarchy.
-  */
-void
-Sequential_music_iterator::descend_to_child ()
-{
-  Translator_group  * child_report = child_report = iter_->report_to ();
-  Translator_group * me_report = report_to ();
-
-  Translator_group * c = child_report;
-  while (c && c != me_report)
-    {
-      c= c->daddy_trans_;
-    }
-  
-  if (c == me_report)
-    set_translator (child_report);
-}
+
 
 
 IMPLEMENT_CTOR_CALLBACK (Sequential_music_iterator);