diff options
| author | John Bampton <[email protected]> | 2020-12-13 17:26:24 +1000 |
|---|---|---|
| committer | John Bampton <[email protected]> | 2020-12-13 18:38:22 +1000 |
| commit | 940dec5e7df1c4c7ec131073bd364ddd59d4b48c (patch) | |
| tree | 77b0097e93d105368890ab0611801225e72f7ec6 /src | |
| parent | 116e128b1a103e2fb246cc9d53b82246b24dbd40 (diff) | |
| download | mruby-940dec5e7df1c4c7ec131073bd364ddd59d4b48c.tar.gz mruby-940dec5e7df1c4c7ec131073bd364ddd59d4b48c.zip | |
Fix spelling
Diffstat (limited to 'src')
| -rw-r--r-- | src/gc.c | 2 | ||||
| -rw-r--r-- | src/string.c | 2 | ||||
| -rw-r--r-- | src/vm.c | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -45,7 +45,7 @@ == Two White Types - There're two white color types in a flip-flop fashion: White-A and White-B, + There are two white color types in a flip-flop fashion: White-A and White-B, which respectively represent the Current White color (the newly allocated objects in the current GC cycle) and the Sweep Target White color (the dead objects to be swept). diff --git a/src/string.c b/src/string.c index cf71914b3..4d09c7eab 100644 --- a/src/string.c +++ b/src/string.c @@ -2997,7 +2997,7 @@ mrb_float_read(const char *string, char **endPtr) int c; int exp = 0; /* Exponent read from "EX" field. */ int fracExp = 0; /* Exponent that derives from the fractional - * part. Under normal circumstatnces, it is + * part. Under normal circumstances, it is * the negative of the number of digits in F. * However, if I is very long, the last digits * of I get dropped (otherwise a long I with a @@ -1840,11 +1840,11 @@ RETRY_TRY_BLOCK: if (mlen < m2) { stack_clear(®s[len-m2+mlen+1], m2-mlen); } - /* initalize rest arguments with empty Array */ + /* initialize rest arguments with empty Array */ if (r) { regs[m1+o+1] = mrb_ary_new_capa(mrb, 0); } - /* skip initailizer of passed arguments */ + /* skip initializer of passed arguments */ if (o > 0 && argc-kargs > m1+m2) pc += (argc - kargs - m1 - m2)*3; } |
