about summary refs log tree commit diff stats
path: root/cpp/001trace.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-02-16 16:57:47 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-02-16 16:57:47 -0800
commit5963dacdb07100af6662a5b0366b3fca18e4c2fb (patch)
treef3f13326645ae716e7ebad50f32f1d87441d4b86 /cpp/001trace.cc
parentfdd732fb4d7196b3b0ca094193d837243975ca9f (diff)
downloadmu-5963dacdb07100af6662a5b0366b3fca18e4c2fb.tar.gz
767
Diffstat (limited to 'cpp/001trace.cc')
-rw-r--r--cpp/001trace.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/001trace.cc b/cpp/001trace.cc
index a99951e0..8b69cc84 100644
--- a/cpp/001trace.cc
+++ b/cpp/001trace.cc
@@ -69,11 +69,11 @@ trace_stream* Trace_stream = NULL;
 #define trace(layer)  !Trace_stream ? cerr /*print nothing*/ : Trace_stream->stream(layer)
 // Warnings should go straight to cerr by default since calls to trace() have
 // some unfriendly constraints (they delay printing, they can't nest)
-#define RAISE  ((!Trace_stream || !Hide_warnings) ? cerr /*do print*/ : Trace_stream->stream("warn")) << __FILE__ << ":" << __LINE__ << " "
+#define raise ((!Trace_stream || !Hide_warnings) ? cerr /*do print*/ : Trace_stream->stream("warn")) << __FILE__ << ":" << __LINE__ << " "
 // Just debug logging without any test support.
 #define dbg cerr << __FUNCTION__ << '(' << __FILE__ << ':' << __LINE__ << ") "
 
-// RAISE << die exits after printing -- unless Hide_warnings is set.
+// raise << die exits after printing -- unless Hide_warnings is set.
 struct die {};
 ostream& operator<<(ostream& os, unused die) {
   if (Hide_warnings) return os;