]> git.donarmstrong.com Git - lilypond.git/commit
Issue 3663: Crash with \repeat ... \alternative and \remove "Bar_engraver"
authorDavid Kastrup <dak@gnu.org>
Sun, 17 Nov 2013 18:29:06 +0000 (19:29 +0100)
committerDavid Kastrup <dak@gnu.org>
Fri, 22 Nov 2013 13:21:12 +0000 (14:21 +0100)
commit539fa974c50b632fd6d3c4a65dbf988bb2880e2a
tree2ed38ebce656ab1f9bb88a7e866ac7d6ced517af
parent67370eabfb36cd70d9fbf6bcff53a1ac3b5b18c3
Issue 3663: Crash with \repeat ... \alternative and \remove "Bar_engraver"

This approach is just poking around in the dark and removing Scheme
error messages.  In particular substituting the original glyph for
left-bar-line and right-bar-line (when missing) in calls to
span-bar::compound-bar-line seems fishy, and the original logic
for setting left-bar-broken if left-bar-line is not even present
is also not clear to me.

The results for the example in the bug report:
form = \new Staff \with {
  \remove "Bar_engraver"
} \repeat volta 2 {
    s1
} \alternative {
    s1 % first ending
    s1 % second ending
} % form

\score {
  <<
    \form
  >>
} % score
are also not identical with the 2.16 results: the volta brackets now
run into each other; before there was a gap.

It fixes the crash.  I have no idea what a proper fix would look like.
scm/bar-line.scm