X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=python%2Fconvertrules.py;fp=python%2Fconvertrules.py;h=0dc024871924b8f1855a80dcb05ed83c7c49d6aa;hb=219e295ae144a5bc98f7893d4845b0866a6a1a21;hp=737345538670cfb6680f7ef13edebfda5193c715;hpb=b2c96227913964332ff993c0df18c2b104d92de4;p=lilypond.git diff --git a/python/convertrules.py b/python/convertrules.py index 7373455386..0dc0248719 100644 --- a/python/convertrules.py +++ b/python/convertrules.py @@ -2870,6 +2870,17 @@ chord-shape call.\n")) raise FatalConversionError () return str +@rule ((2,12,3), + _ ("Remove oldaddlyrics") +def conv(str): + if re.search(r'\\oldaddlyrics', str): + stderr_write ("\n") + stderr_write (NOT_SMART % _("oldaddlyrics is no longer supported. \n \ + Use addlyrics or lyrsicsto instead.\n")) + stderr_write (UPDATE_MANUALLY) + raise FatalConversionError () + return str + # Guidelines to write rules (please keep this at the end of this file) # # - keep at most one rule per version; if several conversions should be done,