* lily/lexer.ll: preliminary \markup syntax.
--- /dev/null
+\header {
+texidoc = "New markup syntax."
+}
+
+\version "1.7.8"
+
+
+\score {
+ \notes
+ {
+ \property Voice.TextScript \set #'molecule-callback = #brew-new-markup-molecule
+ f'-\markup { foo \bold bar \column < baz bazr >
+ \override #'(font-family . music) \lookup #"noteheads-0"
+ }
+
+ c''4
+ }
+}
+++ /dev/null
-\header {
-texidoc = "New markup syntax."
-
-}
-\version "1.7.8"
-
-
-\score {
- \notes \transpose c d
-%\apply #display-music
- {
- \property Voice.TextScript \set #'molecule-callback = #brew-new-markup-molecule
- eses'-\markup { foo \bold bar \column < baz bazr >
- \override #'(font-family . music) \lookup #"noteheads-0"
- } }
-}
} else
return scan_escaped_word (str);
}
- {WORD} {
- /* ugr. This sux. */
+ {LYRICS} {
String s (YYText ());
- if (s == "__")
- return yylval.i = EXTENDER;
- if (s == "--")
- return yylval.i = HYPHEN;
- s = lyric_fudge (s);
char c = s[s.length () - 1];
if (c == '{' || c == '}') // brace open is for not confusing dumb tools.
}
+/*
+ substittute _ adn \,
+*/
String
lyric_fudge (String s)
{