From: fred Date: Tue, 26 Mar 2002 22:43:00 +0000 (+0000) Subject: lilypond-1.3.2 X-Git-Tag: release/1.5.59~2011 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5b76e5bb179dd0af60ad2c52bee76b7809a41493;p=lilypond.git lilypond-1.3.2 --- diff --git a/lily/lexer.ll b/lily/lexer.ll index 8d95d0e42e..7c09d492e9 100644 --- a/lily/lexer.ll +++ b/lily/lexer.ll @@ -209,7 +209,7 @@ HYPHEN -- } {RESTNAME} { const char *s = YYText (); - yylval.scm = ly_ch_C_to_scm (s); + yylval.scm = ly_str02scm (s); return RESTNAME; } R { @@ -293,7 +293,7 @@ HYPHEN -- /* yylval is union. Must remember STRING before setting SCM*/ String *sp = yylval.string; - yylval.scm = ly_ch_C_to_scm (sp->ch_C ()); + yylval.scm = ly_str02scm (sp->ch_C ()); delete sp; return STRING; } @@ -333,7 +333,7 @@ HYPHEN -- if (c == '{' && c == '}') // brace open is for not confusing dumb tools. here_input ().warning ( "Brace found at end of lyric. Did you forget a space?"); - yylval.scm = ly_ch_C_to_scm (s.ch_C ()); + yylval.scm = ly_str02scm (s.ch_C ()); DEBUG_OUT << "lyric : `" << s << "'\n"; return STRING; @@ -486,7 +486,7 @@ My_lily_lexer::scan_escaped_word (String str) String msg (_f ("unknown escaped string: `\\%s'", str)); LexerError (msg.ch_C ()); DEBUG_OUT << "(string)"; - yylval.scm = ly_ch_C_to_scm(str.ch_C()); + yylval.scm = ly_str02scm(str.ch_C()); return STRING; } @@ -511,7 +511,7 @@ My_lily_lexer::scan_bare_word (String str) } } - yylval.scm = ly_ch_C_to_scm (str.ch_C()); + yylval.scm = ly_str02scm (str.ch_C()); return STRING; }