diff options
author | Neil Puttock <n.puttock@gmail.com> | 2011-06-18 23:42:46 +0100 |
---|---|---|
committer | Neil Puttock <n.puttock@gmail.com> | 2011-06-18 23:42:46 +0100 |
commit | eb307731804e61efcb62a13ebbf13da5bb050f3f (patch) | |
tree | f979e79bd08a89b164a67f80e2e192aa0e104f64 | |
parent | 295ad53e7b4e3e2b2a0a612f46b184f79c3cc7ce (diff) |
Property setting in lyrics: allow markup
* input/regression/stanza-number.ly:
test markup as well as bare string
* lily/parser.yy (scalar):
use lyric_element instead of LYRICS_STRING
-rw-r--r-- | input/regression/stanza-number.ly | 15 | ||||
-rw-r--r-- | lily/parser.yy | 2 |
2 files changed, 7 insertions, 10 deletions
diff --git a/input/regression/stanza-number.ly b/input/regression/stanza-number.ly index 28ed6567b8..cfde182339 100644 --- a/input/regression/stanza-number.ly +++ b/input/regression/stanza-number.ly @@ -1,9 +1,9 @@ -\version "2.14.0" +\version "2.15.2" -\header { texidoc = "Stanza numbers are put left of their lyric. They -are aligned in a column." } - -\layout { ragged-right = ##t } +\header { + texidoc = "Stanza numbers are put left of their lyric. They +are aligned in a column." +} \relative c'' { r4 r4 c4 c4 } \addlyrics { @@ -13,9 +13,6 @@ are aligned in a column." } } \addlyrics { \skip 2 - \set stanza = "2." + \set stanza = \markup { 2. } FFFooooo8 } - - - diff --git a/lily/parser.yy b/lily/parser.yy index 0bb4c152f2..9b46bfe3cc 100644 --- a/lily/parser.yy +++ b/lily/parser.yy @@ -1447,7 +1447,7 @@ simple_string: STRING { scalar: string { $$ = $1; } - | LYRICS_STRING { + | lyric_element { $$ = $1; } | bare_number { |