summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-17 13:54:54 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-17 13:54:54 +0000
commit099f52d73d2a0ee2faae355cb5286a79048bda0e (patch)
tree92f342a233b458e9a40fe70c90d11da0d3d1b1e8 /debug.h
parent6c887c51b48690877357489da5e2a8b207555c87 (diff)
* debug.h: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/debug.h b/debug.h
index cc85a550f1..f1d11304f0 100644
--- a/debug.h
+++ b/debug.h
@@ -19,10 +19,10 @@
#pragma GCC visibility push(default)
#endif
-#define dpv(h,v) ruby_debug_print_value(-1, 0, h, v)
-#define dp(v) ruby_debug_print_value(-1, 0, "", v)
-#define dpi(i) ruby_debug_print_id(-1, 0, "", i)
-#define dpn(n) ruby_debug_print_node(-1, 0, "", n)
+#define dpv(h,v) ruby_debug_print_value(-1, 0, (h), (v))
+#define dp(v) ruby_debug_print_value(-1, 0, "", (v))
+#define dpi(i) ruby_debug_print_id(-1, 0, "", (i))
+#define dpn(n) ruby_debug_print_node(-1, 0, "", (n))
#define bp() ruby_debug_breakpoint()