diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | eval_error.c | 2 |
2 files changed, 6 insertions, 2 deletions
@@ -1,6 +1,10 @@ +Sun Dec 12 13:27:35 2010 Tanaka Akira <akr@fsij.org> + + * eval_error.c: parenthesize macro arguments. + Sun Dec 12 11:53:24 2010 Tanaka Akira <akr@fsij.org> - * encoding.c: parenthesize macro arguments. + * error.c: parenthesize macro arguments. Sun Dec 12 04:01:58 2010 NARUSE, Yui <naruse@ruby-lang.org> diff --git a/eval_error.c b/eval_error.c index 41fcbb0abb..b65ce17d0b 100644 --- a/eval_error.c +++ b/eval_error.c @@ -16,7 +16,7 @@ warn_printf(const char *fmt, ...) } #define warn_print(x) rb_write_error(x) -#define warn_print2(x,l) rb_write_error2(x,l) +#define warn_print2(x,l) rb_write_error2((x),(l)) static void error_pos(void) |