Is there a reason not to allow MUSIC_FUNCTIONs whenever MUSIC_IDENTIFIERs are 
allowed?
One example is \addlyrics. It only accepts grouped_music_lists and MUSIC_IDENTIFIERs ...

I think this patch would be enough ...

Knut
>From bd9ac344b02eb908d9536e3679050e0b7eca3ab9 Mon Sep 17 00:00:00 2001
From: Knut Petersen <knut_peter...@t-online.de>
Date: Tue, 24 Apr 2018 12:14:03 +0200
Subject: [PATCH] lyric_mode_music: allow music_function_call

Signed-off-by: Knut Petersen <knut_peter...@t-online.de>
---
 lily/parser.yy | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lily/parser.yy b/lily/parser.yy
index 6422f5586b..8bea159b3f 100644
--- a/lily/parser.yy
+++ b/lily/parser.yy
@@ -2625,6 +2625,7 @@ lyric_mode_music:
 		$$ = $2;
 	}
 	| MUSIC_IDENTIFIER
+	| music_function_call
 	;
 
 mode_changed_music:
-- 
2.16.3

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to