]> git.donarmstrong.com Git - lilypond.git/commitdiff
Include whichBar in convert-ly rule for bar line changes
authorMarc Hohl <marc@hohlart.de>
Mon, 15 Oct 2012 19:29:32 +0000 (21:29 +0200)
committerMarc Hohl <marc@hohlart.de>
Mon, 22 Oct 2012 07:39:01 +0000 (09:39 +0200)
This is a follow-up of Issue 2790 and commit
cced43289cf170305e6e6517180659a1c4fa91db.

The whichBar property is not set explicitly anywhere
in the sources and thus was forgotten in the commit above.

python/convertrules.py
scm/define-context-properties.scm

index 6eeb392ee4feda35bcb118feb8fb0b960aaefdf8..5d44fd7a150c7fb33e241c247330ae754392ff4f 100644 (file)
@@ -3399,7 +3399,7 @@ def conv (str):
                   matcharg + ")", r"\\shape\2\1", str)
     return str
 
-barstring=r"(\\bar|defaultBarType|segnoType|doubleRepeatType|startRepeatType|endRepeatType|doubleRepeatSegnoType|startRepeatSegnoType|endRepeatSegnoType)(\s*[=]?\s*[#]?)"
+barstring=r"(\\bar|whichBar|defaultBarType|segnoType|doubleRepeatType|startRepeatType|endRepeatType|doubleRepeatSegnoType|startRepeatSegnoType|endRepeatSegnoType)(\s*[=]?\s*[#]?)"
 
 @rule ((2, 17, 5), r"New bar line interface")
 def conv(str):
index c1c006cf06f0d347de07fdc5a0a3fb42bb4a13cd..76c5191bf1518b9a2e3e81eaefb274db877871d2 100644 (file)
@@ -576,7 +576,7 @@ of bar line to create.
 Example:
 
 @example
-\\set Staff.whichBar = \"|:\"
+\\set Staff.whichBar = \".|:\"
 @end example
 
 @noindent