summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-27 15:47:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-27 15:47:33 +0000
commit9d1bd210b78401feba5430a46ceeeaf6d3eecd1e (patch)
tree5ce1037a1bd81d2c8b378968e9515a0ac7303c40 /eval.c
parent3336f7cb3f231630eee7a298b558c93afe7f3ab7 (diff)
downloadruby-9d1bd210b78401feba5430a46ceeeaf6d3eecd1e.tar.gz
ruby-9d1bd210b78401feba5430a46ceeeaf6d3eecd1e.tar.xz
ruby-9d1bd210b78401feba5430a46ceeeaf6d3eecd1e.zip
* eval.c (rb_f_exit), process.c (rb_f_exit_bang): use VALUEs not but
TYPEs. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index 5cfee877e..8d64bf6bb 100644
--- a/eval.c
+++ b/eval.c
@@ -3896,10 +3896,10 @@ rb_f_exit(argc, argv)
rb_secure(4);
if (rb_scan_args(argc, argv, "01", &status) == 1) {
switch (status) {
- case T_TRUE:
+ case Qtrue:
istatus = EXIT_SUCCESS;
break;
- case T_FALSE:
+ case Qfalse:
istatus = EXIT_FAILURE;
break;
default: