String *string;
const char *consstr;
Paperdef *paper;
- Mididef* midi;
+ Midi_def* midi;
Input_music *music;
Music_general_chord *chord;
Music_voice *mvoice;
/*cont*/ '{' score_body '}' {
$$ = $4;
$$->defined_ch_c_l_ = define_spots.pop();
- if (!$$->paper_p_)
+ if (!$$->paper_p_ && ! $$->midi_p_)
$$->paper_p_ = default_paper();
/* handle error levels. */
;
midi_body: {
- $$ = new Mididef;
+ $$ = new Midi_def;
}
| midi_body OUTPUT STRING {
$$->outfile_str_ = *$3;
$$ = new Input_staff(*$1);
delete $1;
}
- | MIDI {
- $$ = new Input_staff("midi");
- }
;
staff_body: