lilypond-user
[Top][All Lists]
Advanced

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

Re: Replacement for "parser"


From: David Kastrup
Subject: Re: Replacement for "parser"
Date: Sat, 30 Jul 2016 19:07:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Hans Åberg <address@hidden> writes:

>> On 30 Jul 2016, at 18:21, Malte Meyn <address@hidden> wrote:
>
>>> That one, I discovered, but “parser” must be there in another location.
>> Are you sure? input/regression/note-names.ly doesn’t have parser or
>> (*parser*) anywhere.
>
> Looking at the file I am actually using (with SMuFL glyphs), (*parser*) is 
> not needed, but Graham’s file regular.ly has a line
>   retune = #(define-music-function (parser location ET midc m)
>     (rational? integer? ly:music?) m)

Which works perfectly as-is since parser here is a function parameter
and define-music-function will accept this definition.  It also works
perfectly after using convert-ly (which will actually remove the
parser/location arguments).

I do not understand what the problem with running convert-ly and then
reporting any _actual_ remaining problems is.

-- 
David Kastrup



reply via email to

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