X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fparser.yy;fp=lily%2Fparser.yy;h=d4ab27c2bb320b804e4b16862e2910da59298aa6;hb=1334c5f9e0824db4adbb4cd949406f7bfdee9524;hp=35d858c46f6dbef1c383c3588bc7dba697fc914b;hpb=9fd7a4d08b6414ce4b5b130316b688f36c6a6265;p=lilypond.git diff --git a/lily/parser.yy b/lily/parser.yy index 35d858c46f..d4ab27c2bb 100644 --- a/lily/parser.yy +++ b/lily/parser.yy @@ -3600,7 +3600,7 @@ lyric_element: } | STRING { if (!parser->lexer_->is_lyric_state ()) - parser->parser_error (@1, _ ("unrecognized string, not in text script or \\lyricmode")); + parser->parser_error (@1, _f ("not a note name: %s", ly_scm2string ($1))); $$ = $1; } | LYRIC_ELEMENT