use TRUE/FALSE instead of 1/0

This commit is contained in:
Yukihiro Matsumoto
2012-08-13 04:19:24 +09:00
parent 0143a85a21
commit 1ed39d5c05
9 changed files with 39 additions and 39 deletions
+2 -2
View File
@@ -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