From: fred Date: Sun, 24 Mar 2002 19:56:01 +0000 (+0000) Subject: lilypond-0.1.11 X-Git-Tag: release/1.5.59~3988 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=16dd010c0e875a8999864e3577974ace6c3cccf3;p=lilypond.git lilypond-0.1.11 --- diff --git a/lily/lexer.l b/lily/lexer.l index 8e702b7c79..fa82ddd563 100644 --- a/lily/lexer.l +++ b/lily/lexer.l @@ -87,6 +87,10 @@ LYRICS ({AA}|{NATIONAL})[^0-9 \t\n\f]* %% +<*>\r { + // windows-suck-suck-suck +} + { "%{" { yy_push_state(longcomment); diff --git a/lily/score-performer.cc b/lily/score-performer.cc index eabe401926..6473489284 100644 --- a/lily/score-performer.cc +++ b/lily/score-performer.cc @@ -49,12 +49,6 @@ Score_performer::depth_i() const } -void -Score_performer::finish() -{ - Performer_group_performer::do_removal_processing(); -} - void Score_performer::play (Audio_element * p) @@ -65,9 +59,9 @@ Score_performer::play (Audio_element * p) } else if (p->is_type_b (Audio_staff::static_name())) { - score_l_->audio_score_p_->add_staff ((Audio_staff*)p); + performance_p_->add_staff ((Audio_staff*)p); } - score_l_->audio_score_p_->add (p); + performance_p_->add (p); } @@ -76,7 +70,7 @@ Score_performer::prepare (Moment m) { now_mom_ = m; audio_column_l_ = new Audio_column (m); - score_l_->audio_score_p_->add (audio_column_l_); + performance_p_->add (audio_column_l_); } @@ -87,21 +81,29 @@ Score_performer::process() } + void -Score_performer::set_score (Score* score_l) +Score_performer::start() { - Global_translator::set_score (score_l); } -void -Score_performer::start() +int +Score_performer::get_tempo_i() const { + return performance_p_->midi_l_->get_tempo_i (Moment (1, 4)); } +void +Score_performer::finish() +{ + Performer_group_performer::do_removal_processing(); +} -int -Score_performer::get_tempo_i()const +Music_output * +Score_performer::get_output_p () { - return score_l_->midi_p_->get_tempo_i (Moment (1, 4)); + Music_output * o = performance_p_; + performance_p_ =0; + return o; }