From: Han-Wen Nienhuys Date: Mon, 29 Sep 2003 22:48:44 +0000 (+0000) Subject: (conv): add up-to-staff conversion rule. X-Git-Tag: release/2.1.0~11 X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=commitdiff_plain;h=3a9fa37e31ea68e15359a0478b359529f55cd9d7;p=lilypond.git (conv): add up-to-staff conversion rule. --- diff --git a/ChangeLog b/ChangeLog index 473776ac14..d5b6865e86 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,14 +1,15 @@ 2003-09-30 Han-Wen Nienhuys + * scripts/convert-ly.py (conv): add up-to-staff conversion rule. + * lily/include/directional-element-interface.hh: junk class, make {get,set}_grob_direction functions. * lily/slur.cc (get_attachment): do something sensible when attaching to stem without heads (eg. a rest). - * lily/stem.cc: remove #'up-to-staff ; use #'stem-end for forcing - up to staff. Add #'rests. - remove #'support-head property + * lily/stem.cc: remove #'up-to-staff ; use #'stem-end-position for + forcing up to staff. remove #'support-head property (brew_molecule): small cleanup. (flag): remove #'grace property. diff --git a/scripts/convert-ly.py b/scripts/convert-ly.py index 832fc5f1a3..1f650db71e 100644 --- a/scripts/convert-ly.py +++ b/scripts/convert-ly.py @@ -1586,6 +1586,16 @@ def conv (str): conversions.append (((1,9,8), conv, """dash-length -> dash-fraction""")) + +def conv (str): + if re.search ("up-to-staff", str) : + sys.stderr.write ("up-to-staff was removed. Use stem-end-position instead. ") + raise FatalConversionError () + + return str + +conversions.append (((2,0,1), conv, """dash-length -> dash-fraction""")) + ################################ # END OF CONVERSIONS ################################