From c414e8a1efc5203bc0246c6d9ce5d255fd840ae5 Mon Sep 17 00:00:00 2001 From: fred Date: Wed, 2 Oct 1996 19:57:41 +0000 Subject: [PATCH] lilypond-0.0.1 --- debug.hh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 debug.hh diff --git a/debug.hh b/debug.hh new file mode 100644 index 0000000000..fce60a9816 --- /dev/null +++ b/debug.hh @@ -0,0 +1,25 @@ +#ifndef DEBUG_HH +#define DEBUG_HH +#include +#include +#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 -- 2.39.5