lilypond-0.0.2
[lilypond.git] / debug.cc
blob69c5a04a5b3e9ed58c165d2877b5a1e5f159ae6e
1 #include "debug.hh"
2 #include "dstream.hh"
3 int debug_flags;
5 void
6 set_debug(String s)
8 if (s.pos ('t')) {
9 debug_flags |= DEBUGTOKEN;
10 mtor << " Turning on token debug\n";
12 if (s.pos ('p')){
13 debug_flags |= DEBUGPARSER;
14 mtor << "Turning on parser debugger\n";
18 Dstream monitor(cout,".dstreamrc");