While studying the Lilypond grammar and doing some tests, I wrote a test file (enclosed) which, while
syntactically correct, is clearly semantically incorrect, is not rejected by the compiler and makes
lilypond crash.
The problem lies in the fact that lilypond_header_body may contain any type of assignement even one
in the form of
STRING = score_block.
Would it be advisable to make the grammar mor strict in this part?


Antonio Palama'
\header{
title = \score {
                 \notes { c d e f }
                 \midi { \tempo 4 = 90 }
                 \paper {}
               }
instrument = "Trumpet"
description =    ""
composer =       "XX"
}
Trumpet = \notes 
\relative c' 
{
a4 b c d |
}
\score {
        \notes { \Trumpet }
        \midi { \tempo 4 = 90 }
        \paper {}
}
_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user

Reply via email to