diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-08-13 04:19:24 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-08-13 04:19:24 +0900 |
| commit | 1ed39d5c05bd37c6633e7729efb8e7aa46d7fdda (patch) | |
| tree | 4b2a1b4540c7caf278b441356d47b74b27ea744c /src/codegen.c | |
| parent | 0143a85a21027f0f171abb1d00a2e000a364671c (diff) | |
| download | mruby-1ed39d5c05bd37c6633e7729efb8e7aa46d7fdda.tar.gz mruby-1ed39d5c05bd37c6633e7729efb8e7aa46d7fdda.zip | |
use TRUE/FALSE instead of 1/0
Diffstat (limited to 'src/codegen.c')
| -rw-r--r-- | src/codegen.c | 4 |
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 |
