]> git.donarmstrong.com Git - lilypond.git/blob - input/error.ly
release: 0.0.31
[lilypond.git] / input / error.ly
1 mwa = music {
2         $
3 %       [ a8 a8 a8 a8 a8 ]      % assertion fail
4 %       [ a8 a8 a8 ]    % assertion fail
5 %       [ a8 ]  % assertion fail
6         a ) b ] c       % warning
7         &               % ok; error
8         a b ) ]         % ok; error
9 %        a.........     % fatal error -- assert
10         a b c
11         |||             % 
12         abc             % ok; print error, no output
13         \bla            % no warning-> this STRING, reduced to lyric_elt.
14         a [ b           % warning, still output
15         { a( b }        % warning, still output
16         a b ,c
17         a b c-*
18         a b c&
19         { a-. b-. }
20         $
21 }
22
23 bla = music {
24         @ 
25         These Gates will open just like windows. % ok; warning
26         @
27 }
28
29
30 include "this-is-hopefully-a-nonexisting-file"
31
32 score {
33         staff { 
34                 lyric music { bla }
35         }
36         staff { 
37                 melodic music { mwa }
38         }
39         commands {
40                 meter 3*4
41         }
42 }