ruby-changes:2589
From: ko1@a...
Date: 2 Dec 2007 15:21:16 +0900
Subject: [ruby-changes:2589] ko1 - Ruby:r14080 (trunk): * insnhelper.ci (vm_callee_setup_arg): fix error message.
ko1 2007-12-02 15:20:23 +0900 (Sun, 02 Dec 2007) New Revision: 14080 Modified files: trunk/ChangeLog trunk/insnhelper.ci trunk/version.h Log: * insnhelper.ci (vm_callee_setup_arg): fix error message. [ruby-dev:32430] http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/insnhelper.ci?r1=14080&r2=14079 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/version.h?r1=14080&r2=14079 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14080&r2=14079 Index: ChangeLog =================================================================== --- ChangeLog (revision 14079) +++ ChangeLog (revision 14080) @@ -1,3 +1,8 @@ +Sun Dec 2 15:18:37 2007 Koichi Sasada <ko1@a...> + + * insnhelper.ci (vm_callee_setup_arg): fix error message. + [ruby-dev:32430] + Sun Dec 2 09:12:48 2007 Tanaka Akira <akr@f...> * parse.y (regexp): fix /#{}\xa1\xa2/e to be EUC-JP. Index: version.h =================================================================== --- version.h (revision 14079) +++ version.h (revision 14080) @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.9.0" -#define RUBY_RELEASE_DATE "2007-12-01" +#define RUBY_RELEASE_DATE "2007-12-02" #define RUBY_VERSION_CODE 190 -#define RUBY_RELEASE_CODE 20071201 +#define RUBY_RELEASE_CODE 20071202 #define RUBY_PATCHLEVEL 0 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_YEAR 2007 #define RUBY_RELEASE_MONTH 12 -#define RUBY_RELEASE_DAY 1 +#define RUBY_RELEASE_DAY 2 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; Index: insnhelper.ci =================================================================== --- insnhelper.ci (revision 14079) +++ insnhelper.ci (revision 14080) @@ -142,7 +142,8 @@ const int opts = iseq->arg_opts - 1 /* no opt */; if (iseq->arg_rest == -1 && argc > opts) { - rb_raise(rb_eArgError, "wrong number of arguments (%d for %d)", orig_argc, m + opts); + rb_raise(rb_eArgError, "wrong number of arguments (%d for %d)", + orig_argc, m + opts + iseq->arg_post_len); } if (argc > opts) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml