]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/warn.cc
release: 1.3.121
[lilypond.git] / lily / warn.cc
index 33261d8f5ac7d2e5388c4f9591f97e1b955f6a7c..b371ddabe8351e72caf07c8d96417a865d7c77b0 100644 (file)
@@ -3,36 +3,23 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
+  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
-#include "proto.hh"
-#include "plist.hh"
 #include "debug.hh"
 #include "my-lily-lexer.hh"
 #include "moment.hh"
-#include "time-description.hh"
+#include "timing-translator.hh"
 #include "source-file.hh"
 #include "source.hh"
 #include "main.hh"
 #include "input.hh"
 
 ostream &warnout (cerr);
-ostream *mlog (&cerr);
-
-
 
 void
-error_t (String const & s, Moment const & r)
+progress_indication (String s)
 {
-  String t_mom = r.truncated ().str () +  (r - r.truncated ()).str ();
-  String e=s+ " (t = " +  t_mom + ")";
-  error (e);
+  cerr << s << flush;
 }
 
-void
-error_t (String const & s, Time_description const &t_tdes)
-{
-  String e=s+ " (at t=" +  String(t_tdes.bars_i_) + ": " +  (t_tdes.whole_in_measure_).str () + ")\n";
-  error (e);
-}