From: fred Date: Tue, 26 Mar 2002 22:42:30 +0000 (+0000) Subject: lilypond-1.3.0 X-Git-Tag: release/1.5.59~2034 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b2d9cf3cad2bffd67c04aa4e7c0712d57c27a209;p=lilypond.git lilypond-1.3.0 --- diff --git a/flower/include/rational.hh b/flower/include/rational.hh index 7ea4e0aaf2..b1187ec692 100644 --- a/flower/include/rational.hh +++ b/flower/include/rational.hh @@ -10,15 +10,11 @@ #ifndef RATIONAL_HH #define RATIONAL_HH -#if PARANOIA -#ifndef Rational -#define Rational MyRational -#endif -#endif #include "compare.hh" #include "arithmetic-operator.hh" #include "fproto.hh" +#include "string.hh" /** Rational numbers. Included is support for + and - infinity. diff --git a/lily/include/header.hh b/lily/include/header.hh index 32907cdbe7..2a31d99266 100644 --- a/lily/include/header.hh +++ b/lily/include/header.hh @@ -15,9 +15,5 @@ #include "scope.hh" -/** Store bibliographical information. The information in the \header - block is read into this struct. Lily does not process this - information. */ -typedef Scope Header; #endif // HEADER_HH diff --git a/lily/paper-def.cc b/lily/paper-def.cc index dc99d4d87b..c5a9146f81 100644 --- a/lily/paper-def.cc +++ b/lily/paper-def.cc @@ -209,7 +209,7 @@ Paper_def::reset_default_count() } Paper_outputter* -Paper_def::paper_outputter_p (Paper_stream* os_p, Header* header_l, String origin_str) const +Paper_def::paper_outputter_p (Paper_stream* os_p, Scope* header_l, String origin_str) const { Paper_outputter* p = new Paper_outputter (os_p); diff --git a/lily/score.cc b/lily/score.cc index 5f9a2b65c5..b517950721 100644 --- a/lily/score.cc +++ b/lily/score.cc @@ -36,7 +36,7 @@ Score::Score (Score const &s) for (int i=0; i < s.def_p_arr_.size (); i++) def_p_arr_.push(s.def_p_arr_[i]->clone()); errorlevel_i_ = s.errorlevel_i_; - header_p_ = (s.header_p_) ? new Header (*s.header_p_): 0; + header_p_ = (s.header_p_) ? new Scope (*s.header_p_): 0; } Score::~Score() @@ -60,8 +60,7 @@ Score::run_translator (Music_output_def *odef_l) trans_p->last_mom_ = music_p_->length_mom (); - bool playing = odef_l->scope_p_->elem_b ("unfold_all"); - Music_iterator * iter = Music_iterator::static_get_iterator_p (music_p_, playing); + Music_iterator * iter = Music_iterator::static_get_iterator_p (music_p_); iter->init_translator(music_p_, trans_p); iter->construct_children(); diff --git a/lily/scores.cc b/lily/scores.cc index 65e9c087af..b3899c2d2e 100644 --- a/lily/scores.cc +++ b/lily/scores.cc @@ -23,7 +23,7 @@ Sources* source_global_l = 0; Array inclusion_global_array; Array target_str_global_array; Link_array score_global_array; -Header * header_global_p; +Scope * header_global_p; void write_dependency_file (String fn, Array targets, @@ -69,7 +69,7 @@ void do_scores() { if (!header_global_p) - header_global_p = new Header; + header_global_p = new Scope; for (int i=0; i < score_global_array.size(); i++) { Score* is_p = score_global_array[i];