|
Report an error instead of crashing when iteration encounters non-music.
The parser checks that it got music where expected, but Scheme functions
like make-music don't, so it's easy to create invalid music. Previously
this often crashed Lilypond.
There are some existing checks that silently ignore non-music instead of
reporting an error. Probably most of these should be changed.
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+53 lines, -37 lines) |
Patch |
|
M |
lily/event-chord-iterator.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
lily/include/music.hh
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
lily/lyric-combine-music.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
lily/lyric-combine-music-iterator.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
lily/music.cc
|
View
|
|
3 chunks |
+15 lines, -2 lines |
0 comments
|
Download
|
|
M |
lily/music-iterator.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
lily/music-sequence.cc
|
View
|
|
12 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
lily/music-wrapper.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
lily/part-combine-iterator.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
lily/property-iterator.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
lily/relative-octave-check.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
lily/repeated-music.cc
|
View
|
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
lily/sequential-iterator.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
lily/simultaneous-music-iterator.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
lily/tuplet-iterator.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 2
|