From 01c8ce74ab33974388c01031bb8522bf9edbfa10 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Tue, 21 Feb 2012 20:38:22 +0100 Subject: [PATCH] Add regtest for extratoken pop_state interference. --- input/regression/extratoken.ly | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 input/regression/extratoken.ly diff --git a/input/regression/extratoken.ly b/input/regression/extratoken.ly new file mode 100644 index 0000000000..754b1f58bf --- /dev/null +++ b/input/regression/extratoken.ly @@ -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 +>> -- 2.39.5