]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/global-translator.cc
2003 -> 2004
[lilypond.git] / lily / global-translator.cc
index ce30c74db6feebf5d78560a85006867e915ed78c..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,6 +99,9 @@ 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.to_string ().to_str0 ());
       if (first)