diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-17 13:54:54 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-17 13:54:54 +0000 |
commit | 099f52d73d2a0ee2faae355cb5286a79048bda0e (patch) | |
tree | 92f342a233b458e9a40fe70c90d11da0d3d1b1e8 /debug.h | |
parent | 6c887c51b48690877357489da5e2a8b207555c87 (diff) | |
download | ruby-099f52d73d2a0ee2faae355cb5286a79048bda0e.tar.gz |
* 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.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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() |