aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--eval_error.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5ca1b8f48a..6265204b1e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)