The following snippet:

\version "2.14.2"
notes = \relative b' {a b c d}

\score {\new Staff { \notes }
        \layout { }
}

\break

\score {\new Staff { \transpose c c' \notes }
        \layout { }
}

generates the following error:

        test.ly:10:0: error: syntax error, unexpected \score, expecting 
\addlyrics

and, at the end of the console log:

error: failed files: "test.ly"

Can anyone explain this error?  Or, how to find the problem in the docs?

BTW, even in the face of this error, the pdf output is correct.

Thanks.


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to