source file of the GNU LilyPond music typesetter
- (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
#include "engraver.hh"
{
Direction d = to_dir (ev->get_property ("span-direction"));
if (d)
- span_events_[d] = ev;
+ ASSIGN_EVENT_ONCE (span_events_[d], ev);
else
programming_error (_ ("staff-span event has no direction"));
}
ADD_ACKNOWLEDGER (Staff_symbol_engraver, grob);
ADD_TRANSLATOR (Staff_symbol_engraver,
- /* doc */ "Create the constellation of five (default) "
- "staff lines.",
- /* create */ "StaffSymbol",
- /* accept */ "staff-span-event",
- /* read */ "",
- /* write */ "");
+ /* doc */
+ "Create the constellation of five (default) staff lines.",
+
+ /* create */
+ "StaffSymbol ",
+
+ /* read */
+ "",
+
+ /* write */
+ ""
+ );