[current git]
It seems that it is not possible to have a comment within #{ ... #}.
In this example
T = #(define-music-function (parser location music) (ly:music?)
#{
\times 2/3 $music ; $
#}
)
\relative {
\T { c c c }
}
lilypond complains about a syntax error. Replacing the `;' with `%' I
get a syntax error also...
Is it possible at all to have a comment within #{...#}? It would be
quite useful: For example, if you write a LaTeX document with lilypond
environments, and your editor supports syntax coloring, the unbalanced
`$' in the above macro causes incorrect coloring.
BTW, according to the docs (section 3.1.5, File structure), `%' should
be possible.
Werner
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel