X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Faccidental-engraver.cc;h=24340ed70f2057e7fae2964d77723c7df260b192;hb=8124604a6b0258349e12b26af93cf1d014b72f5f;hp=d57124981d2941c61a868930382d2ca42d64fe3b;hpb=92b2baf698f1b2b4ec7cc88c68e2a03a03e1d324;p=lilypond.git diff --git a/lily/accidental-engraver.cc b/lily/accidental-engraver.cc index d57124981d..24340ed70f 100644 --- a/lily/accidental-engraver.cc +++ b/lily/accidental-engraver.cc @@ -1,9 +1,9 @@ /* - accidental-engraver.cc -- implement accidental_engraver + accidental-engraver.cc -- implement Accidental_engraver source file of the GNU LilyPond music typesetter - (c) 1997--2007 Han-Wen Nienhuys + (c) 1997--2009 Han-Wen Nienhuys Modified 2001--2002 by Rune Zedeler */ @@ -262,8 +262,8 @@ LY_DEFINE (ly_find_accidentals_simple, "ly:find-accidentals-simple", 5, 0, 0, " key signature. The @var{laziness} is the number of bars for which reminder" " accidentals are used (ie. if @var{laziness} is zero, we only cancel accidentals" " in the same bar; if @var{laziness} is three, we cancel accidentals up to three" - " bars after they first appear. @var{octaveness} is either " - " @code{'same-octave} or @code{'any-octave} and it specifies whether " + " bars after they first appear. @var{octaveness} is either" + " @code{'same-octave} or @code{'any-octave} and it specifies whether" " accidentals should be canceled in different octaves.") { LY_ASSERT_TYPE (unsmob_pitch, pitch_scm, 2); @@ -411,13 +411,11 @@ Accidental_engraver::create_accidental (Accidental_entry *entry, } Grob * -Accidental_engraver::make_standard_accidental (Stream_event *note, +Accidental_engraver::make_standard_accidental (Stream_event * /* note */, Grob *note_head, Engraver *trans, bool cautionary) { - (void)note; - /* We construct the accidentals at the originating Voice level, so that we get the property settings for @@ -455,12 +453,10 @@ Accidental_engraver::make_standard_accidental (Stream_event *note, } Grob * -Accidental_engraver::make_suggested_accidental (Stream_event *note, +Accidental_engraver::make_suggested_accidental (Stream_event * /* note */, Grob *note_head, Engraver *trans) { - (void) note; - Grob *a = trans->make_item ("AccidentalSuggestion", note_head->self_scm ()); Side_position_interface::add_support (a, note_head); @@ -636,6 +632,7 @@ ADD_TRANSLATOR (Accidental_engraver, /* create */ "Accidental " "AccidentalCautionary " + "AccidentalPlacement " "AccidentalSuggestion ", /* read */