[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Creates convert-ly rules for flag syntax changes (issue 5050046)
From: |
mtsolo |
Subject: |
Creates convert-ly rules for flag syntax changes (issue 5050046) |
Date: |
Sun, 18 Sep 2011 08:55:57 +0000 |
Reviewers: ,
Message:
Hey all,
I think this convert-ly rule should encapsulate all changes
precipitating from the flag grob.
Please let me know if I have the version number wrong - I'm still kinda
fuzzy on what version numbers to use for these rules.
Cheers,
MS
Description:
Creates convert-ly rules for flag syntax changes
Please review this at http://codereview.appspot.com/5050046/
Affected files:
M python/convertrules.py
Index: python/convertrules.py
diff --git a/python/convertrules.py b/python/convertrules.py
index
b1e3fefd453112ca010cc1c00144874f818872cc..1f4e8bb0df97ff641eeb2c0590dd260d6fc7f2e7
100644
--- a/python/convertrules.py
+++ b/python/convertrules.py
@@ -3232,6 +3232,15 @@ def conv (str):
stderr_write (UPDATE_MANUALLY)
return str
address@hidden ((2, 15, 10),
+ _ ("Creation of a Flag grob and moving of certain Stem properties
to this grob"))
+def conv (str):
+ str = re.sub (r"Stem\s+#'flag-style", r"Flag #'style", str)
+ str = re.sub (r"Stem\s+#'stroke-style", r"Flag #'stroke-style", str)
+ str = re.sub (r"Stem\s+#'flag", r"Flag #'print", str)
+ str = re.sub (r"Stem\s+#'transparent\s*=\s*##t", r"Stem #'transparent
= ##t \\override Flag #'transparent = ##t", str)
+ return str
+
# Guidelines to write rules (please keep this at the end of this file)
#
- Creates convert-ly rules for flag syntax changes (issue 5050046),
mtsolo <=