From: fred Date: Wed, 2 Oct 1996 19:57:41 +0000 (+0000) Subject: lilypond-0.0.1 X-Git-Tag: release/1.5.59~7183 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c414e8a1efc5203bc0246c6d9ce5d255fd840ae5;p=lilypond.git lilypond-0.0.1 --- 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