bug-lilypond
[Top][All Lists]
Advanced

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

Re: Limitation with new Lookup identifier syntax


From: David Kastrup
Subject: Re: Limitation with new Lookup identifier syntax
Date: Tue, 19 Apr 2016 07:58:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Simon Albrecht <address@hidden> writes:

> Hello,
>
> \version "2.19.39"
> foo.bar = { s\f }
> \new Dynamics \foo.bar
>
> gives
>
> document.ly:3:15: error: syntax error, unexpected LOOKUP_IDENTIFIER
> \new Dynamics
>               \foo.bar
>
> It works fine with { \foo.bar }.
> Is it expected that these wouldn’t always work where normal variables work?

They work where Scheme expressions #... would work for the same purpose.

It's spelled out in the commit/issue message I think, but indeed not in
the Changes entry (which is pretty much the sole piece of documentation
right now).

This means, for example, that use as post events is likely not possible
at all right now.  No idea how far this can eventually be changed.

-- 
David Kastrup



reply via email to

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