X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Finit.ly;h=a4bd1c3a3985a466f1c888ac2a58e30197739ae8;hb=f65b1a21ff28f80e2820030a1cc821afd4fef81b;hp=f6c928e301ec8f6e6af0cca07b2a89241b8f25cc;hpb=711cf44d0ab28f3159230c84d63c0b19199408b0;p=lilypond.git diff --git a/ly/init.ly b/ly/init.ly index f6c928e301..a4bd1c3a39 100644 --- a/ly/init.ly +++ b/ly/init.ly @@ -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"))))