Example error message:
~~~
/usr/local/tmp/lilypond2/out/bin/lilypond ba.ly
GNU LilyPond 2.21.0
Processing `ba.ly'
Parsing...
ba.ly:3:5: error: octave marks must precede duration
{ a1
,, }
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `/tmp/lilypond-X2JzE8'...
Converting to `ba.pdf'...
Deleting `/tmp/lilypond-X2JzE8'...
fatal error: failed files: "ba.ly"
Compilation exited abnormally with code 1 at Tue Feb 11 17:41:27
~~~
Without the patch:
~~~
Compilation started at Tue Feb 11 17:44:29
lilypond /tmp/ba.ly
GNU LilyPond 2.21.0
Processing `/tmp/ba.ly'
Parsing...
/tmp/ba.ly:3:5: error: syntax error, unexpected ','
{ a1
,, }
/tmp/ba.ly:3:1: error: errors found, ignoring music expression
{ a1,, }
fatal error: failed files: "/tmp/ba.ly"
Compilation exited abnormally with code 1 at Tue Feb 11 17:44:30
~~~
---
** [issues:#5749] Special-case syntax error of duration before octave marks**
**Status:** Started
**Created:** Tue Feb 11, 2020 04:13 PM UTC by David Kastrup
**Last Updated:** Tue Feb 11, 2020 04:13 PM UTC
**Owner:** David Kastrup
Special-case syntax error of duration before octave marks
A somewhat common note-entry error is to write something like c4''
that is (judging from my own experience) not even unusual for
experienced users to fall victim to occasionally. So make a special
parser rule that deals "correctly" with that entry and delivers a more
helpful error message than the parser would muster on its own.
http://codereview.appspot.com/557410043
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list._______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto