#include "lyric-combine-music.hh"
#include "transposed-music.hh"
#include "time-scaled-music.hh"
-#include "new-repeated-music.hh"
+#include "repeated-music.hh"
#include "mudela-version.hh"
#include "grace-music.hh"
%type <pitch_arr> pitch_list
%type <music> chord
-%type <pitch_arr> chord_additions chord_subtractions chord_notes chord_step
+%type <pitch_arr> chord_additions chord_substractions chord_notes chord_step
%type <pitch> chord_note chord_inversion
%type <midi> midi_block midi_body
%type <duration> duration_length
Repeated_music * r = new Repeated_music ($4, $3 >? 1, m);
$$ = r;
r->fold_b_ = (*$2 == "fold");
- r->semi_fold_b_ = (*$2 == "semi");
+ r->volta_fold_b_ = (*$2 == "volta");
delete $2;
r->set_spot ($4->spot ());
}
;
chord:
- steno_tonic_pitch optional_notemode_duration chord_additions chord_subtractions chord_inversion {
+ steno_tonic_pitch optional_notemode_duration chord_additions chord_substractions chord_inversion {
$$ = THIS->get_chord (*$1, $3, $4, $5, *$2);
};
}
;
-chord_subtractions:
+chord_substractions:
{
$$ = new Array<Musical_pitch>;
}
;
-/*
- forevery : X : optional_X sucks. Devise a solution.
-*/
-
chord_inversion:
{
$$ = 0;
$$->octave_i_ = $1 > 7 ? 1 : 0;
$$->accidental_i_ = 1;
}
- | unsigned '-' {
+ | unsigned CHORD_MINUS {
$$ = new Musical_pitch;
$$->notename_i_ = ($1 - 1) % 7;
$$->octave_i_ = $1 > 7 ? 1 : 0;