зеркало из https://github.com/github/ruby.git
* 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:
Родитель
6c887c51b4
Коммит
099f52d73d
|
@ -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.
|
||||
|
|
8
debug.h
8
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()
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче