[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: score-level headers made global
From: |
Graham Percival |
Subject: |
Re: score-level headers made global |
Date: |
Fri, 12 Aug 2005 03:44:31 -0700 |
On 12-Aug-05, at 3:03 AM, Nicolas Sceaux wrote:
Using LilyPond from CVS.
In the following example, the two pieces get wrong titling:
There's a header patch that's waiting for Han-Wen to look at it. I
don't
know if it fixes this, but you could try it.
HTH,
- Graham
--- lilypond-org/lily/lily-parser.cc 2005-08-06 22:30:23.000000000 +0900
+++ lilypond/lily/lily-parser.cc 2005-08-06 21:48:29.000000000 +0900
@@ -220,7 +220,13 @@
{
SCM id = parser->lexer_->lookup_identifier("$defaultheader");
if (!ly_is_module (id))
- id = ly_make_anonymous_module (be_safe_global);
-
- return id;
+ {
+ return ly_make_anonymous_module (be_safe_global);
+ }
+ else
+ {
+ SCM nid = ly_make_anonymous_module (false);
+ ly_module_copy(nid,id);
+ return nid;
+ }
}