From 7338aa2d65bd89a7e5418d27e626bcbf8918c0d5 Mon Sep 17 00:00:00 2001 From: Neil Puttock Date: Sat, 15 May 2010 21:48:24 +0100 Subject: [PATCH] Fix post_events list order for chord repetitions. * lily/parser.yy (event_chord): reverse post_events arg to chord repetition syntax constructor --- input/regression/chord-repetition-script-stack.ly | 11 +++++++++++ lily/parser.yy | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 input/regression/chord-repetition-script-stack.ly diff --git a/input/regression/chord-repetition-script-stack.ly b/input/regression/chord-repetition-script-stack.ly new file mode 100644 index 0000000000..dbbd8673b6 --- /dev/null +++ b/input/regression/chord-repetition-script-stack.ly @@ -0,0 +1,11 @@ +\version "2.13.22" + +\header { + texidoc = "Post events such as fingerings and scripts added to a +chord repetition follow the same basic stacking order as chords. +" +} + +\relative c' { + 2-1-2-3 q_"q"-1-2-3 +} diff --git a/lily/parser.yy b/lily/parser.yy index 8e29cc904b..d296086193 100644 --- a/lily/parser.yy +++ b/lily/parser.yy @@ -1480,7 +1480,7 @@ event_chord: $$ = MAKE_SYNTAX ("repetition-chord", i, PARSER->lexer_->chord_repetition_.last_chord_, PARSER->lexer_->chord_repetition_.repetition_function_, - $2, $3); + $2, scm_reverse_x ($3, SCM_EOL)); } | MULTI_MEASURE_REST optional_notemode_duration post_events { Input i; -- 2.39.5