>From 7d6fc17cdfd765bea8491d9df12d09f472c8215d Mon Sep 17 00:00:00 2001 From: Knut Petersen Date: Tue, 24 Apr 2018 12:14:03 +0200 Subject: [PATCH] lyric_mode_music: allow music_function_call Version 2: also push/pop lyric state to allow easier handling of \displayLilyMusic Signed-off-by: Knut Petersen --- lily/parser.yy | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lily/parser.yy b/lily/parser.yy index 6422f5586b..b127641c41 100644 --- a/lily/parser.yy +++ b/lily/parser.yy @@ -2624,6 +2624,13 @@ lyric_mode_music: parser->lexer_->pop_state (); $$ = $2; } + | { + parser->lexer_->push_lyric_state (); + } music_function_call + { + parser->lexer_->pop_state (); + $$ = $2; + } | MUSIC_IDENTIFIER ; -- 2.16.3