lilypond-user
[Top][All Lists]
Advanced

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

Re: getting the argument list of a procedure


From: anders . vinjar
Subject: Re: getting the argument list of a procedure
Date: Mon, 09 Mar 2015 12:42:36 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (gnu/linux)

>>>>> "D" == David Nalesnik:

    D> I don't understand what is happening when I attempt to define the
    D> macro in the LY file, though.

This is a bug coming from use'ing (ice-9 syncase) - which guile-1.8
depends on for access to syntax-rules & friends - in lilypond.

Despite the error the compilation of the rest of the file seems to gets
through though, doing its output, and setting up a score:

lilypond /tmp/LY/arglist2.ly
GNU LilyPond 2.19.17
Processing `/tmp/LY/arglist2.ly'
Parsing...
/tmp/LY/arglist2.ly:16:2: error: GUILE signaled an error for the expression 
beginning here
#
 (define-syntax defineS
Wrong type to apply: #<Music function #<procedure #f (parser location arg)>>
table: ((foo (a b)))
 (foo 1 2) ==> 3
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `arglist2.ps'...
Converting to `./arglist2.pdf'...
fatal error: failed files: "/tmp/LY/arglist2.ly"

Compilation exited abnormally with code 1 at Mon Mar  9 12:38:25

-anders




reply via email to

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