Comment #10 on issue 3049 by [email protected]: Parser outputs Lyric
events for illegal note names
http://code.google.com/p/lilypond/issues/detail?id=3049
Until the patch for issue 2996
\relative c' { \markup\bold{ Jack and Jill }}
used to cause a report of "unexpected \markup", which was helpful.
We could
1) report here as best we can "Unrecognized word, or unexpected \markup.
(So sorry, but I've forgotten which it was.)"
2) check the current mode when filling the production:
lyric_element: full_markup | STRING | LYRIC_ELEMENT
so we can report the error in as helpful a way as we had formerly.