Werner LEMBERG wrote:
transposedCueDuring =
#(define-music-function
(parser location what dir pitch-note main-music)
(string? ly:dir? ly:music? ly:music?)
We should probably hardcode support for having a single-note music
argument as well.
'origin location))
Unfortunately, this doesn't work, because there isn't a proper
signature for a music function with four or more user-supplied
arguments -- this is a completely undocumented limitation! It took
some time until I've found the corresponding code in lexer.ll and
parser.yy.
Hi,
I'm adding support for up to 4 SCM args, and cleaned up the code a bit.
Can you redo the patch? The limitation is just laziness. We might want
to write a code generator to just generate these signatures up to 10
arguments.
--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
LilyPond Software Design
-- Code for Music Notation
http://www.lilypond-design.com
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel