]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/init.ly
Fix thinko: corner case bbox handling should also be rounded to integers.
[lilypond.git] / ly / init.ly
index f6c928e301ec8f6e6af0cca07b2a89241b8f25cc..a4bd1c3a3985a466f1c888ac2a58e30197739ae8 100644 (file)
@@ -16,7 +16,7 @@
 #(define version-seen #f)
 #(define expect-error #f) 
 #(define output-empty-score-list #f)
-
+#(define output-suffix #f)
 #(use-modules (scm clip-region))
 \maininput
 %% there is a problem at the end of the input file
@@ -34,6 +34,7 @@
       (defined? 'input-file-name))
   (version-not-seen-message input-file-name))
 
+#(ly:set-option 'protected-scheme-parsing #f)
 #(if (or (pair? toplevel-scores) output-empty-score-list)
   ((if (defined? 'default-toplevel-book-handler)
     default-toplevel-book-handler
@@ -44,4 +45,5 @@
 
 #(if (eq? expect-error (ly:parser-has-error? parser))
   (ly:parser-clear-error parser)
-  (ly:parser-error parser (_ "expected error, but none found")))
+  (if expect-error
+   (ly:parser-error parser (_ "expected error, but none found"))))