]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add regtest for extratoken pop_state interference.
authorDavid Kastrup <dak@gnu.org>
Tue, 21 Feb 2012 19:38:22 +0000 (20:38 +0100)
committerDavid Kastrup <dak@gnu.org>
Tue, 21 Feb 2012 20:37:27 +0000 (21:37 +0100)
input/regression/extratoken.ly [new file with mode: 0644]

diff --git a/input/regression/extratoken.ly b/input/regression/extratoken.ly
new file mode 100644 (file)
index 0000000..754b1f5
--- /dev/null
@@ -0,0 +1,20 @@
+\header {
+  texidoc = "A mode switching command like @code{\\lyricsto} will
+`pop state' when seeing the lookahead token @code{\\time}, a music
+function, after its non-delimited argument.  This must not cause the
+extra token parsing state for the music function to disappear."
+}
+
+\paper {
+  ragged-right = ##t
+}
+
+\version "2.15.31"
+
+x=\lyrics { oh }
+
+<< 
+  \new Voice = m { c'4 r r }
+  \lyricsto "m" \x
+  \time 3/4
+>>