From: David Kastrup Date: Sun, 25 Aug 2013 17:36:11 +0000 (+0200) Subject: Issue 3517: Parse composite music in context modifications in \notemode X-Git-Tag: release/2.17.26-1~18^2~4 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=95e4b7f9d22b54ae991ac6d1a8026667eadc1e8f;p=lilypond.git Issue 3517: Parse composite music in context modifications in \notemode This allows for context mods like \new Staff \with { \transposition f' } { c'4 d' e' f' } --- diff --git a/lily/parser.yy b/lily/parser.yy index 5ac60f65bc..48dc5680b3 100644 --- a/lily/parser.yy +++ b/lily/parser.yy @@ -627,7 +627,16 @@ context_def_spec_block: context_mod_arg: embedded_scm - | composite_music + | + { + SCM nn = parser->lexer_->lookup_identifier ("pitchnames"); + parser->lexer_->push_note_state (nn); + } + composite_music + { + parser->lexer_->pop_state (); + $$ = $2; + } ; context_mod_embedded: