X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fslash-repeat-engraver.cc;h=c0673188a63824e3ae5bf46789d60fe4d28bc247;hb=891840d4b25b71e9caac50174077d6461bb5cc7f;hp=16d5c4ba5f89558d6c2f4321bf3968f38662521f;hpb=5f0e15c0862e3e9f024bfe1c763180e554f2e045;p=lilypond.git diff --git a/lily/slash-repeat-engraver.cc b/lily/slash-repeat-engraver.cc index 16d5c4ba5f..c0673188a6 100644 --- a/lily/slash-repeat-engraver.cc +++ b/lily/slash-repeat-engraver.cc @@ -1,10 +1,21 @@ /* - slash-repeat-engraver.cc -- implement Slash_repeat_engraver + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter - - (c) 2000--2006 Han-Wen Nienhuys , Erik Sandberg + Copyright (C) 2000--2010 Han-Wen Nienhuys , Erik Sandberg + + 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 "bar-line.hh" @@ -50,7 +61,7 @@ Slash_repeat_engraver::listen_percent (Stream_event *ev) if (get_event_length (ev) < meas_length) ASSIGN_EVENT_ONCE (slash_, ev); - + /* don't warn if nothing happens: this can happen if there are whole measure repeats. @@ -68,8 +79,15 @@ Slash_repeat_engraver::process_music () } ADD_TRANSLATOR (Slash_repeat_engraver, - /* doc */ "Make beat repeats.", - /* create */ "RepeatSlash", - /* accept */ "percent-event", - /* read */ "measureLength", - /* write */ ""); + /* doc */ + "Make beat repeats.", + + /* create */ + "RepeatSlash ", + + /* read */ + "measureLength ", + + /* write */ + "" + );