#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.
#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
}
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);
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()
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();
Array<String> inclusion_global_array;
Array<String> target_str_global_array;
Link_array<Score> score_global_array;
-Header * header_global_p;
+Scope * header_global_p;
void write_dependency_file (String fn, Array<String> targets,
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];