From 099f52d73d2a0ee2faae355cb5286a79048bda0e Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 17 Jan 2011 13:54:54 +0000 Subject: * debug.h: parenthesize macro arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- debug.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'debug.h') 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() -- cgit v1.2.1