]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.1
authorfred <fred>
Mon, 7 Oct 1996 21:29:11 +0000 (21:29 +0000)
committerfred <fred>
Mon, 7 Oct 1996 21:29:11 +0000 (21:29 +0000)
warn.cc [new file with mode: 0644]

diff --git a/warn.cc b/warn.cc
new file mode 100644 (file)
index 0000000..426173e
--- /dev/null
+++ b/warn.cc
@@ -0,0 +1,18 @@
+#include "debug.hh"
+ ostream &warnout (cerr);
+ ostream *mlog(&cerr);
+
+
+
+void warning(String s)
+{
+    WARN << s;
+}
+
+
+void error(String s)
+{
+    cerr << "\n" << s << "\nexiting..\n";
+    exit(1);
+}
+