diff options
author | git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-05-27 03:10:15 +0900 |
---|---|---|
committer | git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-05-27 03:10:15 +0900 |
commit | 5a6c77bbe8acd5929421c359bca57ef559a4f0fe (patch) | |
tree | fcc3cbb57d3ab878f67b91f0d5ccd5988c80d681 | |
parent | 39eadca76b48fc7841da688f6745e40897ec37ff (diff) | |
download | ruby-5a6c77bbe8acd5929421c359bca57ef559a4f0fe.tar.gz |
* expand tabs.
-rw-r--r-- | error.c | 14 | ||||
-rw-r--r-- | eval.c | 2 | ||||
-rw-r--r-- | thread.c | 4 |
3 files changed, 10 insertions, 10 deletions
@@ -1415,8 +1415,8 @@ frozen_err_initialize(int argc, VALUE *argv, VALUE self) argc = rb_scan_args(argc, argv, "02", &mesg, &recv); if (argc > 1) { - argc--; - rb_ivar_set(self, id_recv, recv); + argc--; + rb_ivar_set(self, id_recv, recv); } rb_call_super(argc, argv); return self; @@ -2897,13 +2897,13 @@ rb_error_frozen_object(VALUE frozen_obj) VALUE path = rb_ary_entry(debug_info, 0); VALUE line = rb_ary_entry(debug_info, 1); - rb_frozen_error_raise(frozen_obj, - "can't modify frozen %"PRIsVALUE", created at %"PRIsVALUE":%"PRIsVALUE, - CLASS_OF(frozen_obj), path, line); + rb_frozen_error_raise(frozen_obj, + "can't modify frozen %"PRIsVALUE", created at %"PRIsVALUE":%"PRIsVALUE, + CLASS_OF(frozen_obj), path, line); } else { - rb_frozen_error_raise(frozen_obj, "can't modify frozen %"PRIsVALUE, - CLASS_OF(frozen_obj)); + rb_frozen_error_raise(frozen_obj, "can't modify frozen %"PRIsVALUE, + CLASS_OF(frozen_obj)); } } @@ -454,7 +454,7 @@ rb_class_modify_check(VALUE klass) goto noclass; } } - rb_frozen_error_raise(klass, "can't modify frozen %s", desc); + rb_frozen_error_raise(klass, "can't modify frozen %s", desc); } } @@ -3325,7 +3325,7 @@ VALUE rb_thread_local_aset(VALUE thread, ID id, VALUE val) { if (OBJ_FROZEN(thread)) { - rb_frozen_error_raise(thread, "can't modify frozen thread locals"); + rb_frozen_error_raise(thread, "can't modify frozen thread locals"); } return threadptr_local_aset(rb_thread_ptr(thread), id, val); @@ -3402,7 +3402,7 @@ rb_thread_variable_set(VALUE thread, VALUE id, VALUE val) VALUE locals; if (OBJ_FROZEN(thread)) { - rb_frozen_error_raise(thread, "can't modify frozen thread locals"); + rb_frozen_error_raise(thread, "can't modify frozen thread locals"); } locals = rb_ivar_get(thread, id_locals); |