From 6b26022f82d3d332ac5d2d7bb9ac7496e5e0963f 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 53b3b4608c..d1a305325b 100644 --- a/lily/parser.yy +++ b/lily/parser.yy @@ -2155,8 +2155,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