mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #5400 from jbampton/fix-spelling
chore: fix spelling
This commit is contained in:
@@ -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. */
|
||||
};
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user