[EMAIL PROTECTED] writes:
> Hello,
> With current CVS, the following file issues an guile error:
>
> %%% bar.ly:
> foo=\notes { c' d' e' }
> #(display foo)
> \score { \notes { \foo }}
> %%%
>
> [EMAIL PROTECTED]: lilypond /home/nicolas/tmp/bar.ly
> ...
> /home/nicolas/tmp/bar.ly:1:1: While evaluating arguments to display in expression
> (display foo):
> /home/nicolas/tmp/bar.ly:1:1: Unbound variable: foo
>
> However, if I change the file:
I think it is due to the lookahead of the parser. The assignment is
only done after #(display .. ) is evaluated.
--
Han-Wen Nienhuys | [EMAIL PROTECTED] | http://www.xs4all.nl/~hanwen
_______________________________________________
Lilypond-devel mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-devel