Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3470)

Issue 5050046: Creates convert-ly rules for flag syntax changes (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by MikeSol
Modified:
12 years, 7 months ago
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Creates convert-ly rules for flag syntax changes

Patch Set 1 #

Total comments: 1

Patch Set 2 : Updates convert-ly rules as per Keith's suggestion (issue 1921) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M python/convertrules.py View 1 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 4
MikeSol
Hey all, I think this convert-ly rule should encapsulate all changes precipitating from the flag ...
12 years, 7 months ago (2011-09-18 08:55:57 UTC) #1
pkx166h
Passes make and reg tests
12 years, 7 months ago (2011-09-24 19:08:03 UTC) #2
Graham Percival (old account)
LGTM
12 years, 7 months ago (2011-09-27 04:20:34 UTC) #3
Keith
12 years, 7 months ago (2011-09-27 05:08:02 UTC) #4
Looks good enough to me.

http://codereview.appspot.com/5050046/diff/1/python/convertrules.py
File python/convertrules.py (right):

http://codereview.appspot.com/5050046/diff/1/python/convertrules.py#newcode3241
python/convertrules.py:3241: str = re.sub (r"Stem\s+#'transparent\s*=\s*##t",
r"Stem #'transparent = ##t \\override Flag #'transparent = ##t", str)
This last one gets fooled by the common case
 \once\override Stem #'transparent
so maybe three separate substitutions rules, for \override \once\s*\override
\revert, or maybe a not_smart for the transparent property.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b