1 %% Toplevel initialisation file.
3 #(define-public midi-debug #f)
8 \include "declarations-init.ly"
11 #(ly:set-option 'new-relative)
12 #(define toplevel-scores '())
13 #(define $globalheader #f)
14 #(define version-seen? #f)
17 %% there is a problem at the end of the input file
20 %% Above and below comments compensate for the parser's look-ahead.
23 #(if (and (ly:get-option 'old-relative)
24 (defined? 'input-file-name)
25 (not (ly:get-option 'old-relative-used)))
26 (ly:warn (string-append
28 input-file-name ": old relative compatibility was not used."
29 )))%% there is a problem at the end of the input file
31 #(if (not version-seen?)
32 (version-not-seen-message))
34 #(if (pair? toplevel-scores)
35 (ly:parser-print-book parser
36 (apply ly:make-book $defaultpaper $globalheader toplevel-scores)))