]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/engraver.cc
release: 1.3.27
[lilypond.git] / lily / engraver.cc
index 6121e82eb1a5398a97d3b3f5230e0f3bcdf2c304..40bc87f9c1b649e976aba629e106f3cd4db9bc65 100644 (file)
@@ -1,9 +1,9 @@
 /*
   engraver.cc -- implement Engraver
 
-  Sourcefile of GNU LilyPond musictypesetter
+  Sourcefile of GNU LilyPond music type setter
 
-  (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #include "music-list.hh"
@@ -13,6 +13,7 @@
 #include "debug.hh"
 #include "paper-def.hh"
 #include "score-element.hh"
+#include "group-interface.hh"
 
 void
 Engraver::fill_staff_info (Staff_info&)
@@ -23,7 +24,11 @@ Engraver::fill_staff_info (Staff_info&)
 void
 Engraver::announce_element (Score_element_info i)
 {
-  i.origin_trans_l_arr_.push (this);
+  Score_element *  e = i.elem_l_;
+  group (e, "interfaces").add_thing (ly_symbol2scm (e->name()));
+  
+  if (!i.origin_trans_l_)
+    i.origin_trans_l_ = this;
   daddy_grav_l()->announce_element (i);
 }