[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Colored box behind a single note
From: |
David Kastrup |
Subject: |
Re: Colored box behind a single note |
Date: |
Fri, 26 Jul 2019 17:37:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Werner LEMBERG <address@hidden> writes:
>>> diff --git a/lily/horizontal-bracket-engraver.cc
>>> b/lily/horizontal-bracket-eng
> if (d == STOP)
> {
> pop_count_++;
> - if (pop_count_ > bracket_stack_.size ())
> +
> + // Since N `L' events create N HorizontalBracket grobs we need (at
> + // most) N `R' events to finish them. However, at this particular
> + // moment, a single-moment horizontal bracket might be created also;
> + // this takes another `L' event (which might not have caused a new
> + // element on `bracket_stack' yet) and its corresponding `R' event.
> + if (pop_count_ > bracket_stack_.size () + 1)
> ev->origin ()->warning (_ ("do not have that many brackets"));
> }
"which might not have caused a new element"? That sounds like this may
or may not suppress an actually warranted warning.
Correct?
--
David Kastrup
- Re: Colored box behind a single note, Werner LEMBERG, 2019/07/26
- Re: Colored box behind a single note, David Kastrup, 2019/07/26
- Re: Colored box behind a single note, Werner LEMBERG, 2019/07/26
- Re: Colored box behind a single note, David Kastrup, 2019/07/26
- Re: Colored box behind a single note,
David Kastrup <=
- Re: Colored box behind a single note, Werner LEMBERG, 2019/07/26
- Re: Colored box behind a single note, David Kastrup, 2019/07/26
- Re: Colored box behind a single note, Werner LEMBERG, 2019/07/26
- Re: Colored box behind a single note, David Kastrup, 2019/07/26