blob: ae75b77fa142dd32d6cd6c6e2e3a732a229e0f80 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#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 monitor; // monitor
#define mtor monitor.identify_as(__PRETTY_FUNCTION__)
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
|