From a30c13f4658f03cb30820a27b42ddb4aea941380 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Mon, 5 Nov 2012 23:13:07 +0100 Subject: [PATCH] Issue 2949: Allow (closed) scheme function calls as text scripts. One motivation of recent grammar changes was to make scheme variables identical to markup variables. The obvious parallel idea of letting scheme function calls be available for calculating markups has not received similar attention. The purpose of this patch is to allow for using scheme function calls producing markup within text scripts. --- lily/parser.yy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lily/parser.yy b/lily/parser.yy index eb8f8cbcc9..4eb488a37f 100644 --- a/lily/parser.yy +++ b/lily/parser.yy @@ -2774,7 +2774,7 @@ gen_text_def: make_simple_markup ($1)); $$ = t->unprotect (); } - | embedded_scm_bare + | embedded_scm_closed { Music *m = unsmob_music ($1); if (m && m->is_mus_type ("post-event")) -- 2.39.2