]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/warn.cc
patch::: 1.3.18.jcn3
[lilypond.git] / lily / warn.cc
index 532d2e3fb89809227264adfcfd3a3595778d9c92..74265b9e31bf7340cf31291c6299ea71e92bfcd5 100644 (file)
 #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.trunc_rat ().str () +  (r - r.trunc_rat ()).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=" +  to_str (t_tdes.bars_i_) + ": " +  (t_tdes.whole_in_measure_).str () + ")\n";
-  error (e);
-}