1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* eval.c (ruby_run): just return FAILURE instead of parse error

count.  [ruby-list:38569]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2003-10-15 06:00:57 +00:00
parent 0ac52b49f4
commit c12ae030ba
2 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,8 @@
Wed Oct 15 15:00:54 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (ruby_run): just return FAILURE instead of parse error
count. [ruby-list:38569]
Wed Oct 15 13:17:02 2003 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/digest/digest.c (rb_digest_base_alloc): need to initialize

2
eval.c
View file

@ -1390,7 +1390,7 @@ ruby_run()
int state;
static int ex;
if (ruby_nerrs > 0) exit(ruby_nerrs);
if (ruby_nerrs > 0) exit(EXIT_FAILURE);
state = ruby_exec();
if (state && !ex) ex = state;
ruby_stop(ex);