summaryrefslogtreecommitdiff
path: root/eval_error.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-12 04:28:29 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-12 04:28:29 +0000
commit5227164cdc6ce59a22ffa16cc219882b230045fd (patch)
treed6698ce3626658cc3f62580d18444e4c72323bd3 /eval_error.c
parentc4442536b246f95181fd281e103e29c2f64a7102 (diff)
* eval_error.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_error.c')
-rw-r--r--eval_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval_error.c b/eval_error.c
index 41fcbb0..b65ce17 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)