]> git.donarmstrong.com Git - lilypond.git/commitdiff
Assignments can't contain literal lyric music (wrong lexer mode)
authorDavid Kastrup <dak@gnu.org>
Tue, 2 Oct 2012 14:43:11 +0000 (16:43 +0200)
committerDavid Kastrup <dak@gnu.org>
Thu, 25 Oct 2012 18:29:25 +0000 (20:29 +0200)
Since assignments can't happen in lyrics mode (only in INITIAL mode or
the initial music mode), there is no point in supporting
non-mode-switching items on the right side of assignments that can
only occur in lyrics mode.

lily/parser.yy

index 13f071a2881286008e95e752b23fa638698ed9f9..193655cb35b841878bdaa9e550d540d9e2d292dd 100644 (file)
@@ -1033,7 +1033,6 @@ music_arg:
 music_assign:
        simple_music
        | composite_music %prec COMPOSITE
-       | lyric_element_music
        ;
 
 repeated_music: