;
simple_music:
- event_chord {
- PARSER->lexer_->chord_repetition_.last_chord_ = $$;
- }
+ event_chord
| MUSIC_IDENTIFIER
| music_property_def
| context_change
$$ = MAKE_SYNTAX ("multi-measure-rest", i, $2, $3);
}
| command_element
- | note_chord_element
+ /* note chord elements are memorized into
+ PARSER->lexer_->chord_repetition_ so that the chord repetition
+ mechanism copy them when a chord repetition symbol is found
+ */
+ | note_chord_element {
+ PARSER->lexer_->chord_repetition_.last_chord_ = $$;
+ }
;