From 0c68c8199095c0c804fc6556ae54df4d7e929a9a Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 1 Dec 1996 20:29:38 +0000 Subject: [PATCH] lilypond-0.0.13 --- hdr/debug.hh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hdr/debug.hh b/hdr/debug.hh index fb3a070593..e86fe2247d 100644 --- a/hdr/debug.hh +++ b/hdr/debug.hh @@ -3,9 +3,10 @@ #include #include #include "dstream.hh" +#include "real.hh" void error(String s); // errors - +void error_t(String s, Real when); // warnings void warning(String s); #define WARN warnout << "warning: "<<__FUNCTION__ << "(): " @@ -20,9 +21,10 @@ extern Dstream monitor; // monitor #ifdef NPRINT #define mtor if (0) monitor // clever hack #else -#define mtor monitor.identify_as(__PRETTY_FUNCTION__) +#define mtor if (check_debug) monitor.identify_as(__PRETTY_FUNCTION__) #endif +extern bool check_debug; #endif -- 2.39.5