]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.1
authorfred <fred>
Wed, 2 Oct 1996 19:57:41 +0000 (19:57 +0000)
committerfred <fred>
Wed, 2 Oct 1996 19:57:41 +0000 (19:57 +0000)
debug.hh [new file with mode: 0644]

diff --git a/debug.hh b/debug.hh
new file mode 100644 (file)
index 0000000..fce60a9
--- /dev/null
+++ b/debug.hh
@@ -0,0 +1,25 @@
+#ifndef DEBUG_HH
+#define DEBUG_HH
+#include <assert.h>
+#include <iostream.h>
+#include "dstream.hh"
+
+
+
+#define WARN warnout << "warning: "<<__FUNCTION__ << ": "
+extern ostream &warnout ;
+extern ostream *mlog;  
+extern dstream mtor; // monitor
+
+void error(String s);
+void warning(String s);
+
+extern int debug_flags;
+
+void
+set_debug(String s);
+const int DEBUGPARSER = 0x01;
+const int DEBUGTOKEN = 0x02;
+const int DEBUGITEMS = 0x04;
+
+#endif