diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-15 06:00:57 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-15 06:00:57 +0000 |
| commit | 29732808b573344173c3ad2292f9c58cc5eaad78 (patch) | |
| tree | 7fbcf3e90a37953e014b6682f09768062f2534ba /eval.c | |
| parent | df92d9c796abfe05ccb4f077754bf9f138cddd49 (diff) | |
| download | ruby-29732808b573344173c3ad2292f9c58cc5eaad78.tar.gz ruby-29732808b573344173c3ad2292f9c58cc5eaad78.tar.xz ruby-29732808b573344173c3ad2292f9c58cc5eaad78.zip | |
* eval.c (ruby_run): just return FAILURE instead of parse error
count. [ruby-list:38569]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
| -rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
