summaryrefslogtreecommitdiffhomepage
path: root/src/codegen.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-08-13 04:19:24 +0900
committerYukihiro Matsumoto <[email protected]>2012-08-13 04:19:24 +0900
commit1ed39d5c05bd37c6633e7729efb8e7aa46d7fdda (patch)
tree4b2a1b4540c7caf278b441356d47b74b27ea744c /src/codegen.c
parent0143a85a21027f0f171abb1d00a2e000a364671c (diff)
downloadmruby-1ed39d5c05bd37c6633e7729efb8e7aa46d7fdda.tar.gz
mruby-1ed39d5c05bd37c6633e7729efb8e7aa46d7fdda.zip
use TRUE/FALSE instead of 1/0
Diffstat (limited to 'src/codegen.c')
-rw-r--r--src/codegen.c4
1 files changed, 2 insertions, 2 deletions
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