]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/vertical-align-engraver.cc
* python/convertrules.py (conv): warning on \tempo{}
[lilypond.git] / lily / vertical-align-engraver.cc
index 2b2930e9b17dbf2511ff635cdc49af39fc4a127f..9523d3c6a8e1c72007e47d71f87dfaa685eefb89 100644 (file)
@@ -41,7 +41,7 @@ ADD_TRANSLATOR (Vertical_align_engraver,
                "them vertically.",
                /* create */ "VerticalAlignment",
                /* accept */ "",
-               /* read */ "",
+               /* read */ "alignAboveContext alignBelowContext",
                /* write */ "");
 
 Vertical_align_engraver::Vertical_align_engraver ()
@@ -98,7 +98,7 @@ Vertical_align_engraver::acknowledge_axis_group (Grob_info i)
 {
   if (qualifies (i))
     {
-      std::string id = i.context ()->id_string ();
+      string id = i.context ()->id_string ();
 
       scm_hash_set_x (id_to_group_hashtab_, scm_makfrom0str (id.c_str ()),
                      i.grob ()->self_scm ());
@@ -113,11 +113,11 @@ Vertical_align_engraver::acknowledge_axis_group (Grob_info i)
       Grob *after_grob = unsmob_grob (after);
 
       Align_interface::add_element (valign_, i.grob ());
-
+       
       if (before_grob || after_grob)
        {
          Grob_array *ga = unsmob_grob_array (valign_->get_object ("elements"));
-         Link_array__Grob_ &arr = ga->array_reference ();
+         vector<Grob*> &arr = ga->array_reference ();
 
          Grob *added = arr.back ();
          arr.pop_back ();