]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/global-translator.cc
2003 -> 2004
[lilypond.git] / lily / global-translator.cc
index f43c5486c0e7cdf2c972ec072dfa0e48790c7c29..dc6280681157dbd899191c58c4f98503f94c31b3 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 <stdio.h>
 
@@ -99,8 +99,11 @@ Global_translator::run_iterator_on_me (Music_iterator * iter)
        }
 
       w = sneaky_insert_extra_moment (w);
+      if (w.main_part_.is_infinity ())
+       break ;
       
-      //      printf ("proccing %s\n ",       w.string ().to_str0 ());
+      
+      //      printf ("proccing %s\n ",       w.to_string ().to_str0 ());
       if (first)
        {
          first = false;