lilypond-devel
[Top][All Lists]
Advanced

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

Re: music functions and markups


From: Han-Wen Nienhuys
Subject: Re: music functions and markups
Date: Fri, 22 Oct 2004 19:04:20 +0200

address@hidden writes:
> I still have to check that make web is OK (broken at the moment), but what
> do you think of the following (I don't feel confortable when hacking
> parser.yy):
> 
> Index: ChangeLog
> ===================================================================
> RCS file: /cvsroot/lilypond/lilypond/ChangeLog,v
> retrieving revision 1.2721
> diff -u -r1.2721 ChangeLog
> --- ChangeLog 16 Oct 2004 07:37:45 -0000      1.2721
> +++ ChangeLog 16 Oct 2004 09:40:40 -0000
> @@ -1,3 +1,9 @@
> +2004-10-16  Nicolas Sceaux  <address@hidden>
> +
> +     * lily/parser.yy: add a `embedded_scm_or_full_markup' token,
> +     used in Generic_prefix_music_scm, in order to allow the use of
> +     \markup expressions with music functions

I think the embedded_scm_or_full_markup is inelegant. Why can't you
add a separate

    MUSIC_FUNCTION_SCM_MARKUP

to do what you want? the typechecking will be more detailed, and it's
IMO less ugly.
-- 

 Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen 





reply via email to

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