diff options
| author | John Bampton <[email protected]> | 2020-12-17 16:22:31 +1000 |
|---|---|---|
| committer | John Bampton <[email protected]> | 2020-12-17 16:22:31 +1000 |
| commit | d21d5993b9452bdb7813e8c6b897241bbc72b758 (patch) | |
| tree | f6f9cda5a692c02e5eae8b9c80de7e40fd933241 /mrbgems/mruby-compiler | |
| parent | fbe5033f80cda70d4e835b7c99748df116d3be4c (diff) | |
| download | mruby-d21d5993b9452bdb7813e8c6b897241bbc72b758.tar.gz mruby-d21d5993b9452bdb7813e8c6b897241bbc72b758.zip | |
feat(CI): add a GitHub Action to check spelling
- Fix spelling
- Run only on pull request
- Using https://github.com/client9/misspell
Diffstat (limited to 'mrbgems/mruby-compiler')
| -rw-r--r-- | mrbgems/mruby-compiler/core/codegen.c | 2 | ||||
| -rw-r--r-- | mrbgems/mruby-compiler/core/parse.y | 2 | ||||
| -rw-r--r-- | mrbgems/mruby-compiler/core/y.tab.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/mrbgems/mruby-compiler/core/codegen.c b/mrbgems/mruby-compiler/core/codegen.c index 66763b953..4ac092176 100644 --- a/mrbgems/mruby-compiler/core/codegen.c +++ b/mrbgems/mruby-compiler/core/codegen.c @@ -856,7 +856,7 @@ lambda_body(codegen_scope *s, node *tree, int blk) oa = node_len(tree->car->cdr->car); /* rest argument? */ ra = tree->car->cdr->cdr->car ? 1 : 0; - /* mandatory arugments after rest argument */ + /* mandatory arguments after rest argument */ pa = node_len(tree->car->cdr->cdr->cdr->car); pargs = tree->car->cdr->cdr->cdr->car; /* keyword arguments */ diff --git a/mrbgems/mruby-compiler/core/parse.y b/mrbgems/mruby-compiler/core/parse.y index 62fff304e..16e1cef32 100644 --- a/mrbgems/mruby-compiler/core/parse.y +++ b/mrbgems/mruby-compiler/core/parse.y @@ -6826,7 +6826,7 @@ str_dump(mrb_state *mrb, const char *str, int len) int ai = mrb_gc_arena_save(mrb); mrb_value s; # if INT_MAX > MRB_INT_MAX / 4 - /* check maximum length with "\xNN" charactor */ + /* check maximum length with "\xNN" character */ if (len > MRB_INT_MAX / 4) { len = MRB_INT_MAX / 4; } diff --git a/mrbgems/mruby-compiler/core/y.tab.c b/mrbgems/mruby-compiler/core/y.tab.c index cb645c505..a1852b831 100644 --- a/mrbgems/mruby-compiler/core/y.tab.c +++ b/mrbgems/mruby-compiler/core/y.tab.c @@ -12827,7 +12827,7 @@ str_dump(mrb_state *mrb, const char *str, int len) int ai = mrb_gc_arena_save(mrb); mrb_value s; # if INT_MAX > MRB_INT_MAX / 4 - /* check maximum length with "\xNN" charactor */ + /* check maximum length with "\xNN" character */ if (len > MRB_INT_MAX / 4) { len = MRB_INT_MAX / 4; } |
