]> git.donarmstrong.com Git - lilypond.git/blob - ly/init.ly
* lily/lily-parser.cc (get_paper): don't set parent for \paper
[lilypond.git] / ly / init.ly
1 %% Toplevel initialisation file. 
2
3 #(define-public point-and-click #f)
4 #(define-public midi-debug  #f)
5
6
7 \version "2.3.16"
8
9 \include "declarations-init.ly"
10
11
12 #(ly:set-option 'new-relative)
13 #(ly:set-point-and-click #f)
14 #(define  toplevel-scores '())
15 #(define $globalheader #f)
16
17 \maininput
18 %% there is a problem at the end of the input file
19
20 %%
21 %% Above and below comments compensate for the parser's look-ahead.
22 %%
23
24 #(if (and (ly:get-option 'old-relative)
25       (defined? 'input-file-name)
26       (not (ly:get-option 'old-relative-used)))
27   (ly:warn (string-append
28             "\n"
29             input-file-name ": old relative compatibility was not used."
30         )))%% there is a problem at the end of the input file
31
32 #(display "HAI")
33 #(if (pair? toplevel-scores)
34   (ly:parser-print-book parser
35    (apply ly:make-book $defaultbookpaper $globalheader (reverse toplevel-scores))))
36