]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/warn.cc
doc fixes, rune pats
[lilypond.git] / lily / warn.cc
index 02707c67c7ad64c49f94e53173c8fc70f5f967e7..f942e1cda953043abe657af9c4ee2ec4b82d1fc2 100644 (file)
@@ -3,36 +3,17 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+  (c)  1997--2002 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 "source-file.hh"
-#include "source.hh"
-#include "main.hh"
-#include "input.hh"
-
-ostream &warnout (cerr);
-ostream *mlog (&cerr);
-
+#include <stdio.h>
 
+#include "string.hh"
 
 void
-error_t (String const & s, Moment const & r)
+progress_indication (String s)
 {
-    String t_mom = String (trunc (r)) + String (r - Moment (trunc (r)));
-    String e=s+ " (t = " +  t_mom + ")";
-    error (e);
+ fputs (s.ch_C(), stderr);
+ fflush (stderr);
 }
 
-void
-error_t (String const & s, Time_description const &t_tdes)
-{
-    String e=s+ " (at t=" + String (t_tdes.bars_i_) + ": " + String (t_tdes.whole_in_measure_) + ")\n";
-    error (e);
-}