]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/grace-engraver.cc
Prepare introduction of Waf build system
[lilypond.git] / lily / grace-engraver.cc
index 5be9307f08fe11dd8e967d334b5f7a68422ca8ed..19072ae7ad4358261cede36e5e67c73f2a307e4c 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2004--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2004--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "engraver.hh"
@@ -80,10 +80,8 @@ Grace_engraver::consider_change_grace_settings ()
                = scm_cons (scm_cons (c->self_scm (), entry), grace_settings_);
            }
          else
-           {
-             programming_error ("cannot find context: ");
-             scm_display (context_name, scm_current_error_port ());
-           }
+             programming_error ("cannot find context from graceSettings: "
+                                + ly_symbol2string (context_name));
        }
     }
 
@@ -106,7 +104,15 @@ Grace_engraver::start_translation_timestep ()
 #include "translator.icc"
 
 ADD_TRANSLATOR (Grace_engraver,
-               /* doc */ "Set font size and other properties for grace notes.",
-               /* create */ "",
-               /* read */ "graceSettings",
-               /* write */ "");
+               /* doc */
+               "Set font size and other properties for grace notes.",
+
+               /* create */
+               "",
+
+               /* read */
+               "graceSettings ",
+
+               /* write */
+               ""
+               );