bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 1356 in lilypond: LilyPond-style comments embedded in a Scheme


From: lilypond
Subject: Re: Issue 1356 in lilypond: LilyPond-style comments embedded in a Scheme expression can't include special characters
Date: Thu, 24 Nov 2011 10:58:52 +0000

Updates:
        Owner: address@hidden

Comment #6 on issue 1356 by address@hidden: LilyPond-style comments embedded in a Scheme expression can't include special characters
http://code.google.com/p/lilypond/issues/detail?id=1356

To make an example for code that will still cause problems:
#(let ((x 0)) #{ c % $(
    $(ly:make-duration x 0) %)
#})
What happens here is that ($(ly:make-duration x 0) %) is read and saved away into a closure, but not used. Instead ly:make-duration is called directly (not as closure) and thus can't find x.

As long as the Scheme reader does not read through the end of comments, however, things should work fine with this patch.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]