]> git.donarmstrong.com Git - lilypond.git/commitdiff
Return a null string after calling ly:warning
authorPatrick McCarty <pnorcks@gmail.com>
Sun, 5 Jul 2009 19:47:01 +0000 (12:47 -0700)
committerPatrick McCarty <pnorcks@gmail.com>
Thu, 16 Jul 2009 06:14:17 +0000 (23:14 -0700)
- This is needed to ensure a sane value for
an undefined stencil expression.

scm/backend-library.scm

index 71ef9096f8e314249dfdd773f0a660918215473a..db79c74aae71f4a11e22063e1e433d37e122e5a5 100644 (file)
 
 (define-public (backend-testing output-module)
   (define (missing-stencil-expression name)
-    (apply
-     (if (ly:get-option 'warning-as-error) ly:error ly:warning)
-     (list (_ "missing stencil expression `~S'") name)))
+    (begin
+      (apply
+       (if (ly:get-option 'warning-as-error) ly:error ly:warning)
+       (list (_ "missing stencil expression `~S'") name))
+      ""))
 
   (map (lambda (x)
         (if (not (module-defined? output-module x))