From: Graham Percival Date: Thu, 14 Jul 2005 00:39:25 +0000 (+0000) Subject: Add exc -> eccentricity rule. X-Git-Tag: release/2.7.1~24 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6a6551d2a55b97c254c69e3009d991376e3b14db;p=lilypond.git Add exc -> eccentricity rule. --- diff --git a/ChangeLog b/ChangeLog index 49d372ac88..44ff145459 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-07-13 Graham Percival + + * python/convertrules.py: add exc -> ecc rule. + + * scripts/convert-ly.py: add location of convertrules.py + in a comment. + 2005-07-12 Jan Nieuwenhuizen * lily/lily-parser-scheme.cc (LY_DEFINE): Guile 1.6 fix. diff --git a/python/convertrules.py b/python/convertrules.py index 94dd62a711..486ecbb2c6 100644 --- a/python/convertrules.py +++ b/python/convertrules.py @@ -2517,6 +2517,9 @@ def conv (str): conversions.append (((2, 7, 0), conv, 'ly:parser-define -> ly:parser-define!')) +def conv (str): + return re.sub('excentricity', 'eccentricity', str) + ################################################################ def str_to_tuple (s): diff --git a/scripts/convert-ly.py b/scripts/convert-ly.py index ef18ac1922..800c04b5cc 100644 --- a/scripts/convert-ly.py +++ b/scripts/convert-ly.py @@ -6,6 +6,9 @@ # # (c) 1998--2005 Han-Wen Nienhuys # Jan Nieuwenhuizen +# +# converting rules are found in python/convertrules.py +# import os import sys