1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* debug.h: parenthesize macro arguments.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2011-01-17 13:54:54 +00:00
parent 6c887c51b4
commit 099f52d73d
2 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,7 @@
Mon Jan 17 22:54:33 2011 Tanaka Akira <akr@fsij.org>
* debug.h: parenthesize macro arguments.
Mon Jan 17 21:40:25 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ruby.c (process_options): revert r30549.

View file

@ -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()