summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/convertrules.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/convertrules.py b/python/convertrules.py
index 8ecce6f877..02f41a2366 100644
--- a/python/convertrules.py
+++ b/python/convertrules.py
@@ -3723,9 +3723,11 @@ def conv(str):
str = re.sub (r'\bthin-kern\b', 'segno-kern', str)
return str
-@rule ((2, 19, 16), "implicitTimeSignatureVisibility -> initialTimeSignatureVisibility")
+@rule ((2, 19, 16), """implicitTimeSignatureVisibility -> initialTimeSignatureVisibility
+csharp -> c-sharp""")
def conv(str):
str = re.sub (r'\bimplicitTimeSignatureVisibility\b', 'initialTimeSignatureVisibility', str)
+ str = re.sub (r'\b([a-g])((?:sharp){1,2}|(?:flat){1,2})\b',r'\1-\2', str)
return str
# Guidelines to write rules (please keep this at the end of this file)