Merge pull request #5400 from jbampton/fix-spelling

chore: fix spelling
This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-04-09 22:07:50 +09:00
committed by GitHub
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -46,8 +46,8 @@ enum mrb_catch_type {
struct mrb_irep_catch_handler {
uint8_t type; /* enum mrb_catch_type */
uint8_t begin[4]; /* The starting address to match the hander. Includes this. */
uint8_t end[4]; /* The endpoint address that matches the hander. Not Includes this. */
uint8_t begin[4]; /* The starting address to match the handler. Includes this. */
uint8_t end[4]; /* The endpoint address that matches the handler. Not Includes this. */
uint8_t target[4]; /* The address to jump to if a match is made. */
};
+1 -1
View File
@@ -211,7 +211,7 @@ is_code_block_open(struct mrb_parser_state *parser)
/* an expression was ended */
break;
case EXPR_ENDARG:
/* closing parenthese */
/* closing parenthesis */
break;
case EXPR_ENDFN:
/* definition end */
+1 -1
View File
@@ -524,7 +524,7 @@ assert('IO#close_on_exec') do
fd = IO.sysopen $mrbtest_io_wfname, "w"
io = IO.new fd, "w"
begin
# IO.sysopen opens a file descripter with O_CLOEXEC flag.
# IO.sysopen opens a file descriptor with O_CLOEXEC flag.
assert_true io.close_on_exec?
rescue ScriptError
io.close
+1 -1
View File
@@ -906,7 +906,7 @@ const_i(mrb_state *mrb, mrb_sym sym, mrb_value v, void *p)
* call-seq:
* mod.constants -> array
*
* Returns an array of all names of contants defined in the receiver.
* Returns an array of all names of constants defined in the receiver.
*/
mrb_value
mrb_mod_constants(mrb_state *mrb, mrb_value mod)