]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/to-xml.scm
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / scm / to-xml.scm
index e3f3277c46c8f0e6f670941950519364b432e884..dd9e5bfca7ec5a38ae198763fd8afc9fcf7dd507 100644 (file)
@@ -2,7 +2,7 @@
 ;;;;
 ;;;;  source file of the GNU LilyPond music typesetter
 ;;;; 
-;;;; (c)  2003--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+;;;; (c) 2003--2006 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 ;;;;                 Jan Nieuwenhuizen <janneke@gnu.org>
 
 (use-modules (ice-9 regex)
@@ -187,7 +187,7 @@ is then separated.
 (define (assert x)
   (if x
       #t
-      (error "assertion failed")))
+      (ly:error (_ "assertion failed"))))
 
 (define (re-sub re to string)
   (regexp-substitute/global #f re string 'pre to 'post))