]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add regtest for quoted identifiers
authorDavid Kastrup <dak@gnu.org>
Fri, 26 Oct 2012 12:29:07 +0000 (14:29 +0200)
committerDavid Kastrup <dak@gnu.org>
Fri, 4 Oct 2013 10:11:11 +0000 (12:11 +0200)
input/regression/identifier-quoted.ly [new file with mode: 0644]

diff --git a/input/regression/identifier-quoted.ly b/input/regression/identifier-quoted.ly
new file mode 100644 (file)
index 0000000..fa60533
--- /dev/null
@@ -0,0 +1,26 @@
+\header
+{
+
+texidoc = "Music identifiers containing arbitrary characters may be
+initialized using
+@example
+\"violin1\" = @{ c''4 c'' c'' c'' @}
+@end example
+and used as:
+@example
+\\new Voice @{ \\\"violin1\" @}
+@end example
+"
+
+}
+
+\version "2.17.28"
+
+"violin1" = { c''4 c'' c'' c'' }
+"violin2" = { a'4 a' a' a' }
+
+\layout { ragged-right = ##t }
+
+{
+  << \"violin1" \\ \"violin2" >>
+}