]> git.donarmstrong.com Git - lilypond.git/commit
Issue 4537/1: Let \addlyrics accept an optional context mod
authorDavid Kastrup <dak@gnu.org>
Mon, 3 Aug 2015 07:23:40 +0000 (09:23 +0200)
committerDavid Kastrup <dak@gnu.org>
Sat, 8 Aug 2015 07:40:10 +0000 (09:40 +0200)
commite6895cdbcf30f3683a8c1b1c50dbb1b154ca6bdb
treea62b48601d9d4cfd34ad97e9121a78cd19c0c674
parent98806e4921fafb0cc6d67572bdf11e54f22337e8
Issue 4537/1: Let \addlyrics accept an optional context mod

Since \addlyrics always creates a new Lyrics context, there seems to be
little point in not allowing it to have a \with clause.

This change allows the use of the syntax

    \new Voice {...} \addlyrics \with ... {...}

in order to achieve the effect of what previously required

   << \new Voice = "name" {...}
      \new Lyrics \with ... \lyricsto "name" {...}
   >>
lily/parser.yy
scm/ly-syntax-constructors.scm