X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Flexer.ll;h=2aa5551d7d67bcb84f784580500afbdc2cd9d0b8;hb=25db659c539eba1b69214118d745ea0639e91e01;hp=7189daf62369c5dad9159f4fae0db0a976f5386b;hpb=48ca3ba1f7e7de37716da3b6dfa2b223114c0cad;p=lilypond.git diff --git a/lily/lexer.ll b/lily/lexer.ll index 7189daf623..2aa5551d7d 100644 --- a/lily/lexer.ll +++ b/lily/lexer.ll @@ -153,7 +153,7 @@ BOM_UTF8 \357\273\277 {BOM_UTF8} { if (this->lexloc->line_number () != 1 || this->lexloc->column_number () != 0) { - LexerError (_ ("stray UTF-8 BOM encountered").to_str0 ()); + LexerError (_ ("stray UTF-8 BOM encountered").c_str ()); exit (1); } if (be_verbose_global) @@ -209,11 +209,11 @@ BOM_UTF8 \357\273\277 } . { - LexerError (_ ("quoted string expected after \\version").to_str0 ()); + LexerError (_ ("quoted string expected after \\version").c_str ()); yy_pop_state (); } >. { - LexerError (_ ("quoted string expected after \\sourcefilename").to_str0 ()); + LexerError (_ ("quoted string expected after \\sourcefilename").c_str ()); yy_pop_state (); } { @@ -226,7 +226,7 @@ BOM_UTF8 \357\273\277 yy_pop_state (); } <> { - LexerError (_ ("EOF found inside a comment").to_str0 ()); + LexerError (_ ("EOF found inside a comment").c_str ()); is_main_input_ = false; if (! close_input ()) yyterminate (); // can't move this, since it actually rets a YY_NULL