File: version-seen.ly

package info (click to toggle)
lilypond 2.24.4-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 70,352 kB
  • sloc: cpp: 87,962; lisp: 43,344; xml: 31,269; python: 22,974; sh: 4,090; yacc: 4,080; perl: 2,873; lex: 1,387; makefile: 76
file content (18 lines) | stat: -rw-r--r-- 575 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
% Needed because lilypond-book-preamble.ly sets version-seen
% to #t in order not to require a \version statement for snippets.
#(define version-seen #f)

%% \version "2.21.0"

\header {
  texidoc = "This does not produce typeset output but checks that
@code{\\version} statements in included files do not inhibit the
warning in the main file when a @code{\\version} statement is missing
there."
}

\include "deutsch.ly"

#(ly:expect-warning
  (G_ "no \\version statement found, please add~afor future compatibility")
  (format #f "\n\n\\version ~s\n\n" (lilypond-version)))