markdblackwell <markdblackwel...@gmail.com> writes: > If a user passes a wrong bar number to \barNumberCheck, LilyPond 2.19.22 > produces a Scheme error: > >>lilypond tiny-example.ly > GNU LilyPond 2.19.22 > Processing `tiny-example.ly' > Parsing... > Interpreting > music...C:/progra/lilypond/current/usr/share/lilypond/current/ly/music-functions-init.ly:220:24: > In procedure ly:input-warning in expression (ly:input-warning (*location*) > "Barcheck failed got ~a expect ~a" ...): > C:/progra/lilypond/current/usr/share/lilypond/current/ly/music-functions-init.ly:220:24: > Wrong type argument in position 1 (expecting Input): #f > > Tiny-example.ly contains the following code: > > \version "2.19.18" % Please ignore this version number! > notes = { > c'2 d' > \barNumberCheck #3 > } > \book { > \bookOutputName "barNumberCheck-tiny-example-test" > \score { > \notes > \layout { } > } > }
Now I would have like to have complained about the non-minimality of the example since the book appears entirely unnecessary. But indeed without the book, only a warning (with a ludicrous error location) occurs. It is interesting that the behavior of normal score and book differ in that respect. -- David Kastrup _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond