mrbgems: fix spelling

This commit is contained in:
John Bampton
2025-04-04 15:05:13 +10:00
parent 5c2c77c71c
commit b1d910f6f4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1540,7 +1540,7 @@ prohibit_literals(parser_state *p, node *n)
modifier_while "'while' modifier"
modifier_until "'until' modifier"
modifier_rescue "'rescue' modifier"
keyword_alias "'alis'"
keyword_alias "'alias'"
keyword_BEGIN "'BEGIN'"
keyword_END "'END'"
keyword__LINE__ "'__LINE__'"
+1 -1
View File
@@ -456,7 +456,7 @@ path_expand(mrb_state *mrb, const char *path, const char *base, mrb_bool tilda)
{
mrb_value ary;
// split path conponents as array and normalization
// split path components as array and normalization
if (tilda && path[0] == '~') {
base = path_gethome(mrb, &path);
ary = path_split(mrb, path, base, NULL);