From 4b18c6338f6ba1f899e8de1da4fa8883f7929c3c Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Fri, 6 Dec 2013 22:45:16 +0100 Subject: [PATCH] Issue 3706: Allow computed identifiers for \change This makes it possible to write \change #'Staff = #"high" (or other computed expressions) just like it is possible with \new #'Staff = #"high" { ... } --- lily/parser.yy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lily/parser.yy b/lily/parser.yy index 1c8e527b4e..79a4b1114f 100644 --- a/lily/parser.yy +++ b/lily/parser.yy @@ -2208,8 +2208,8 @@ re_rhythmed_music: ; context_change: - CHANGE STRING '=' STRING { - $$ = MAKE_SYNTAX ("context-change", @$, scm_string_to_symbol ($2), $4); + CHANGE symbol '=' simple_string { + $$ = MAKE_SYNTAX ("context-change", @$, $2, $4); } ; -- 2.39.5