summaryrefslogtreecommitdiff
path: root/lily/global-context-scheme.cc
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@xs4all.nl>2006-01-25 16:05:38 +0000
committerHan-Wen Nienhuys <hanwen@xs4all.nl>2006-01-25 16:05:38 +0000
commit7556e96abb66c88ae653c96898bcad2c3f18b645 (patch)
tree6cd8ad3d78c546d50fd36bba6719732a3db7e767 /lily/global-context-scheme.cc
parent08bfc5231f319373ded486c5d99fbebc428b9415 (diff)
* scm/layout-page-layout.scm (write-page-breaks): record tweaks
for different \score blocks separately. (post-process-pages): put write-page-layout into paper block. * lily/output-def.cc (get_parser): new file. * lily/output-def-scheme.cc (LY_DEFINE): ly:output-def-parser, new file. * lily/include/output-def.hh (class Output_def): add parser_ member. * input/regression/page-layout-twopass.ly (Module): new file. * scm/lily.scm: remove cpp hack.
Diffstat (limited to 'lily/global-context-scheme.cc')
-rw-r--r--lily/global-context-scheme.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/lily/global-context-scheme.cc b/lily/global-context-scheme.cc
index bb2c60ab08..115b7f180b 100644
--- a/lily/global-context-scheme.cc
+++ b/lily/global-context-scheme.cc
@@ -36,8 +36,8 @@ LY_DEFINE (ly_run_translator, "ly:run-translator",
"An interpretation context is set up,\n"
"and @var{mus} is interpreted with it. \n"
"The context is returned in its final state.\n"
-
- "\n\nOptionally, this routine takes an Object-key to\n"
+ "\n\n"
+ "Optionally, this routine takes an Object-key to\n"
"to uniquely identify the Score block containing it.\n")
{
Output_def *odef = unsmob_output_def (output_def);
@@ -56,7 +56,8 @@ LY_DEFINE (ly_run_translator, "ly:run-translator",
Cpu_timer timer;
- Global_context *trans = new Global_context (odef, music->get_length (), unsmob_key (key));
+ Global_context *trans = new Global_context (odef, music->get_length (),
+ unsmob_key (key));
if (!trans)
{
programming_error ("no toplevel translator");
@@ -68,7 +69,6 @@ LY_DEFINE (ly_run_translator, "ly:run-translator",
SCM protected_iter = Music_iterator::get_static_get_iterator (music);
Music_iterator *iter = unsmob_iterator (protected_iter);
iter->init_translator (music, trans);
-
iter->construct_children ();
if (!iter->ok ())