[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
error duplicated in the log (if the error is in a variable copied in two
From: |
Federico Bruni |
Subject: |
error duplicated in the log (if the error is in a variable copied in two contexts) |
Date: |
Sat, 22 Feb 2014 10:49:30 +0100 |
As you can see in the example below, an error in a variable which is
present in two contexts (Staff and TabStaff) is printed twice:
\version "2.19.1"
music = \relative c' {
c4 d e f g |
}
\score {
\new StaffGroup <<
\new Staff <<
\context Voice { \clef "G_8" \music }
>>
\new TabStaff <<
\context TabVoice { \clef "moderntab" \music }
>>
>>
}
produces the following log:
###
Parsing...
Interpreting music...
document.ly: warning: barcheck failed at: 1/4
c4 d e f g
|
document.ly: warning: barcheck failed at: 1/4
c4 d e f g
|
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
###
I'm not sure if it's a bug. But the duplication can be a bit annoying when
you work on a big file containing many errors (for example, because it's
the result of an export which doesn't produce good lilypond code). I know I
can skip the duplicate, but a cleaner log would be nice.
Would it be possible to print only once occurrence of an error in a
variable?
- error duplicated in the log (if the error is in a variable copied in two contexts),
Federico Bruni <=