X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fscore.cc;fp=lily%2Fscore.cc;h=c3125df5ad860e251546c3b4f3e417b80ea5c43a;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=ac79dd103fc656988ca26906a7ee2ae2b5f17e83;hpb=a8c9e8a7ca320ab0df5fd32e717fd62cd7635ce6;p=lilypond.git diff --git a/lily/score.cc b/lily/score.cc index ac79dd103f..c3125df5ad 100644 --- a/lily/score.cc +++ b/lily/score.cc @@ -1,9 +1,20 @@ /* - score.cc -- implement Score + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 1997--2011 Han-Wen Nienhuys - (c) 1997--2009 Han-Wen Nienhuys + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #include "score.hh" @@ -83,7 +94,7 @@ Score::Score (Score const &s) error_found_ = s.error_found_; smobify_self (); - input_location_ = make_input (*s.origin ()); + input_location_ = make_input (*s.origin ()); Music *m = unsmob_music (s.music_); if (m) @@ -100,7 +111,7 @@ Score::Score (Score const &s) defs_.push_back (copy); copy->unprotect (); } - header_ = ly_make_anonymous_module (false); + header_ = ly_make_module (false); if (ly_is_module (s.header_)) ly_module_copy (header_, s.header_); }