]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/forbid-break-engraver.cc
Minor logical improvement.
[lilypond.git] / lily / forbid-break-engraver.cc
index 14471e8ec62b944102fe12d516b5725760a8dd91..f44d7bc27fca8656b43df95a881f0fe298a1cb90 100644 (file)
@@ -5,14 +5,13 @@
 
   (c) 2002--_2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
+#include "context.hh"
 #include "duration.hh"
-#include "grob.hh"
 #include "engraver.hh"
+#include "grob.hh"
 #include "input.hh"
-#include "moment.hh"
 #include "pitch.hh"
 #include "rhythmic-head.hh"
-#include "score-context.hh"
 
 #include "translator.icc"
 
@@ -49,9 +48,16 @@ Forbid_line_break_engraver::start_translation_timestep ()
 }
 
 ADD_TRANSLATOR (Forbid_line_break_engraver,
-               /* doc */ "Forbid line breaks when note heads "
-               "are still playing at some point.",
-               /* create */ "",
-               /* accept */ "",
-               /* read */ "busyGrobs",
-               /* write */ "forbidBreak");
+               /* doc */
+               "Forbid line breaks when note heads are still playing at some"
+               " point.",
+
+               /* create */
+               "",
+
+               /* read */
+               "busyGrobs ",
+
+               /* write */
+               "forbidBreak "
+               );