From b786028fe28762dfdb3efccf16a6f3254fe23e3f Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:31:12 +0000 Subject: [PATCH] lilypond-0.0.30 --- src/inputscore.cc | 5 ++--- src/inputstaff.cc | 13 +++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/inputscore.cc b/src/inputscore.cc index ef684047c4..cb9086b1a3 100644 --- a/src/inputscore.cc +++ b/src/inputscore.cc @@ -26,6 +26,7 @@ Input_score::set(Paperdef*p) delete paper_; paper_ = p; } + Input_score::Input_score(Input_score const&) { assert(false); @@ -53,9 +54,7 @@ Input_score::parse() Input_score::~Input_score() { - // TODO! -//should fix paper/symtabs to allow this deletion. -// delete paper_; + delete paper_; } Input_score::Input_score() diff --git a/src/inputstaff.cc b/src/inputstaff.cc index 27e9a55732..d79aac1021 100644 --- a/src/inputstaff.cc +++ b/src/inputstaff.cc @@ -5,12 +5,10 @@ #include "inputstaff.hh" #include "inputcommand.hh" #include "staffcommands.hh" -#include "melodicstaff.hh" -#include "rhythmstaff.hh" -#include "lyricstaff.hh" #include "staff.hh" #include "complexstaff.hh" #include "lexer.hh" +#include "lyricstaff.hh" void Input_staff::add(Array &s) @@ -37,13 +35,16 @@ Staff* Input_staff::parse(Score*score_l) { Staff *p=0; - +#if 0 if (type == "simple") p = new Melodic_staff; - else if (type == "melodic") - p = new Complex_staff; else if (type == "rhythmic") p = new Rhythmic_staff; + else +#endif + + if (type == "melodic") + p = new Complex_staff; else if (type == "lyric") p = new Lyric_staff; else -- 2.39.5