*/
-
-#include "object-key.hh"
#include "lilypond-key.hh"
Lilypond_grob_key::Lilypond_grob_key (Object_key const *context,
Object_key *
Lilypond_context_key::from_scheme (SCM a)
{
- return new Lilypond_grob_key (unsmob_key (scm_car (a)),
- *unsmob_moment (scm_cadr (a)),
- ly_scm2string (scm_list_ref (a, scm_from_int (2))),
- scm_to_int (scm_list_ref (a, scm_from_int (3))));
+ return new Lilypond_context_key (unsmob_key (scm_car (a)),
+ *unsmob_moment (scm_cadr (a)),
+ ly_scm2string (scm_list_ref (a, scm_from_int (2))),
+ ly_scm2string (scm_list_ref (a, scm_from_int (3))),
+ scm_to_int (scm_list_ref (a, scm_from_int (4))));
}
if (c)
return c;
-
c = sign (disambiguation_count_ - other->disambiguation_count_);
if (c)
return c;