]> git.donarmstrong.com Git - lilypond.git/commit
Allow music identifiers in \addlyrics (no need for braces any more)
authorReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 29 Oct 2010 14:21:46 +0000 (16:21 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Mon, 22 Nov 2010 14:18:35 +0000 (15:18 +0100)
commitdfb68d00300d837d723605790d1833b088faee9a
tree7f19ae3e3f68ecf883b67fe556b4348ae6206ae1
parent92190ad98deac78cf32837078741296205072119
Allow music identifiers in \addlyrics (no need for braces any more)

In particular, so far the following did not work:
    \new Staff { \m \addlyrics \l }
Instead, one had to use braces around \m and \l:
    \new Staff { {\m} \addlyrics {\l} }

This patch extends the parser to allow music identifiers,
so that no braces are needed any more.
input/regression/newaddlyrics-music-identifiers.ly [new file with mode: 0644]
lily/parser.yy