From: Neil Puttock Date: Sat, 15 May 2010 20:48:24 +0000 (+0100) Subject: Fix post_events list order for chord repetitions. X-Git-Tag: release/2.13.22-1~29 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7338aa2d65bd89a7e5418d27e626bcbf8918c0d5;p=lilypond.git Fix post_events list order for chord repetitions. * lily/parser.yy (event_chord): reverse post_events arg to chord repetition syntax constructor --- 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;