]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/parenthesis-engraver.cc
Doc-es: update Usage/External.
[lilypond.git] / lily / parenthesis-engraver.cc
index d021be9be45529bf262b87970abaa0c5aa54f465..1479aa4c0be887d711ae4d2b46c3b1e1cdb78f8c 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2005--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2005--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
 
   LilyPond is free software: you can redistribute it and/or modify
@@ -22,7 +22,6 @@
 
 #include "item.hh"
 #include "pointer-group-interface.hh"
-#include "simple-closure.hh"
 #include "stream-event.hh"
 #include "warn.hh"
 
@@ -67,7 +66,7 @@ Parenthesis_engraver::acknowledge_grob (Grob_info info)
             }
           else
             {
-              programming_error ("Don't know how to parenthesize spanners.");
+              info.grob ()->warning ("Don't know how to parenthesize spanners.");
             }
         }
     }