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

* insnhelper.ci (vm_callee_setup_arg): fix error message.

[ruby-dev:32430]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2007-12-02 06:20:23 +00:00
parent f8e92ad562
commit f3e3ce4c82
3 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,8 @@
Sun Dec 2 15:18:37 2007 Koichi Sasada <ko1@atdot.net>
* insnhelper.ci (vm_callee_setup_arg): fix error message.
[ruby-dev:32430]
Sun Dec 2 09:12:48 2007 Tanaka Akira <akr@fsij.org>
* parse.y (regexp): fix /#{}\xa1\xa2/e to be EUC-JP.

View file

@ -142,7 +142,8 @@ vm_callee_setup_arg(rb_thread_t *th, rb_iseq_t *iseq,
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) {

View file

@ -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[];