Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix typos

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
commit 171c708b0c862ee92d6a46ac9def97193954638b 1 parent b4298b3
@znz znz authored
Showing with 12 additions and 6 deletions.
  1. +7 −1 ChangeLog
  2. +3 −3 vm_eval.c
  3. +1 −1  vm_insnhelper.c
  4. +1 −1  vm_insnhelper.h
View
8 ChangeLog
@@ -1,3 +1,9 @@
+Thu Oct 6 18:46:23 2011 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
+
+ * vm_eval.c (make_no_method_exception): fix typo.
+
+ * vm_insnhelper.c, vm_insnhelper.h: ditto.
+
Thu Oct 6 16:29:30 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_eval.c (make_no_method_execption): extract from
@@ -118,7 +124,7 @@ Tue Oct 4 07:59:16 2011 Eric Hodel <drbrain@segment7.net>
Tue Oct 4 07:43:18 2011 Eric Hodel <drbrain@segment7.net>
- * array.c (rb_ary_initalize): Make Array.new description match
+ * array.c (rb_ary_initialize): Make Array.new description match
call-seq. Patch by Henry Maddocks. [Ruby 1.9 - Bug #5344]
Tue Oct 4 07:35:23 2011 Eric Hodel <drbrain@segment7.net>
View
6 vm_eval.c
@@ -496,7 +496,7 @@ rb_method_missing(int argc, const VALUE *argv, VALUE obj)
#define NOEX_MISSING 0x80
static VALUE
-make_no_method_execption(VALUE exc, const char *format, VALUE obj, int argc, const VALUE *argv)
+make_no_method_exception(VALUE exc, const char *format, VALUE obj, int argc, const VALUE *argv)
{
int n = 0;
VALUE mesg;
@@ -550,7 +550,7 @@ raise_method_missing(rb_thread_t *th, int argc, const VALUE *argv, VALUE obj,
}
{
- exc = make_no_method_execption(exc, format, obj, argc, argv);
+ exc = make_no_method_exception(exc, format, obj, argc, argv);
if (!(last_call_status & NOEX_MISSING)) {
th->cfp = RUBY_VM_PREVIOUS_CONTROL_FRAME(th->cfp);
}
@@ -717,7 +717,7 @@ send_internal(int argc, const VALUE *argv, VALUE recv, call_type scope)
id = rb_check_id(&vid);
if (!id) {
if (rb_method_basic_definition_p(CLASS_OF(recv), idMethodMissing)) {
- VALUE exc = make_no_method_execption(rb_eNoMethodError, NULL,
+ VALUE exc = make_no_method_exception(rb_eNoMethodError, NULL,
recv, ++argc, --argv);
rb_exc_raise(exc);
}
View
2  vm_insnhelper.c
@@ -589,7 +589,7 @@ vm_call_method(rb_thread_t *th, rb_control_frame_t *cfp,
}
else if (!(id = rb_check_id(&sym))) {
if (rb_method_basic_definition_p(CLASS_OF(recv), idMethodMissing)) {
- VALUE exc = make_no_method_execption(rb_eNoMethodError, NULL, recv,
+ VALUE exc = make_no_method_exception(rb_eNoMethodError, NULL, recv,
rb_long2int(num), &TOPN(i));
rb_exc_raise(exc);
}
View
2  vm_insnhelper.h
@@ -226,7 +226,7 @@ static VALUE ruby_vm_global_state_version = 1;
} while (0)
static void vm_clear_all_cache(void);
-static VALUE make_no_method_execption(VALUE exc, const char *format,
+static VALUE make_no_method_exception(VALUE exc, const char *format,
VALUE obj, int argc, const VALUE *argv);
Please sign in to comment.
Something went wrong with that request. Please try again.