/*
- repeat-acknowledge-engraver.cc -- implement Repeat_acknowledge_engraver
+ repeat-acknowledge-engraver.cc -- implement Repeat_acknowledge_engraver
source file of the GNU LilyPond music typesetter
- (c) 2000--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 2000--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include "context.hh"
#include "repeated-music.hh"
-
/*
Objective:
bool volta_found = false;
while (scm_is_pair (cs))
{
- SCM command = ly_car (cs);
+ SCM command = scm_car (cs);
if (command == ly_symbol2scm ("start-repeat"))
start = true;
else if (command == ly_symbol2scm ("end-repeat"))
end = true;
- else if (scm_is_pair (command) && ly_car (command) == ly_symbol2scm ("volta"))
+ else if (scm_is_pair (command) && scm_car (command) == ly_symbol2scm ("volta"))
volta_found = true;
- cs = ly_cdr (cs);
+ cs = scm_cdr (cs);
}
if (start && end)
}
}
-ENTER_DESCRIPTION (Repeat_acknowledge_engraver,
+ADD_TRANSLATOR (Repeat_acknowledge_engraver,
/* descr */ "Acknowledge repeated music, and convert the contents of "
"repeatCommands ainto an appropriate setting for whichBar.",
/* creats*/ "",