Status: Accepted
Owner: n.putt...@gmail.com
Labels: Type-Defect Priority-High Patch-review

New issue 1760 by n.putt...@gmail.com: \RemoveEmptyStaves only works inside a \layout block
http://code.google.com/p/lilypond/issues/detail?id=1760

http://lists.gnu.org/archive/html/lilypond-devel/2010-07/msg00359.html

\RemoveEmptyStaves is defined inside engraver-init.ly, which renders it inaccessible as an identifier outside a \layout block.

The following snippet causes the parser to emit two errors, and the second bar isn't removed:

\version "2.15.5"

\new Staff \RemoveEmptyStaves {
  c'1 \break
  r1
}

%{
  error: unknown escaped string: `\RemoveEmptyStaves'
  \new Staff
             \RemoveEmptyStaves {
  error: syntax error, unexpected STRING
  \new Staff
             \RemoveEmptyStaves {
%}

Patch: http://codereview.appspot.com/4664076/



_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to