From 1ed39d5c05bd37c6633e7729efb8e7aa46d7fdda Mon Sep 17 00:00:00 2001 From: Yukihiro Matsumoto Date: Mon, 13 Aug 2012 04:19:24 +0900 Subject: use TRUE/FALSE instead of 1/0 --- src/codegen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/codegen.c') diff --git a/src/codegen.c b/src/codegen.c index 4f118753e..38d57d581 100644 --- a/src/codegen.c +++ b/src/codegen.c @@ -610,10 +610,10 @@ static int nosplat(node *t) { while (t) { - if ((intptr_t)t->car->car == NODE_SPLAT) return 0; + if ((intptr_t)t->car->car == NODE_SPLAT) return FALSE; t = t->cdr; } - return 1; + return TRUE; } static mrb_sym -- cgit v1.2.3