source file of the GNU LilyPond music typesetter
-(c) 2001--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+(c) 2001--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
+
#include "staff-symbol.hh"
#include "engraver.hh"
#include "grob.hh"
#include "context.hh"
-
class Staff_collecting_engraver : public Engraver
{
public:
SCM staffs = get_property ("stavesFound");
staffs = scm_cons (gi.grob_->self_scm (), staffs);
- get_parent_context ()->set_property ("stavesFound", staffs);
+ context ()->set_property ("stavesFound", staffs);
}
}
-ENTER_DESCRIPTION (Staff_collecting_engraver,
+ADD_TRANSLATOR (Staff_collecting_engraver,
/* descr */ "Maintain the stavesFound variable",
/* creats*/ "",