On 14-Aug-05, at 3:03 PM, Han-Wen Nienhuys wrote:
Graham Percival wrote:
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.
--- 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);
generally looks ok, but why is nid non-safe?
I don't know; this patch was sent by Yoshinobu Ishizaki. I don't
understand how the parser works. Yoshinobu-san?
- Graham
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond