summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-06-16 09:15:07 +0900
committerGitHub <[email protected]>2021-06-16 09:15:07 +0900
commit2341e4f5e59bd69aef02a048176d3228cddc293f (patch)
tree99253982cd7b6f8b5bb7ce4672c0327a2465fcb5 /src
parent651c234f9c7097b6a2515f812a782af13b4b67d8 (diff)
parentdab5502e8a16d34d29adee6f7f9cb4f4ae0dfd68 (diff)
downloadmruby-2341e4f5e59bd69aef02a048176d3228cddc293f.tar.gz
mruby-2341e4f5e59bd69aef02a048176d3228cddc293f.zip
Merge pull request #5445 from jbampton/add-codespell-pre-commit-hook
Run pre-commit with GitHub Actions
Diffstat (limited to 'src')
-rw-r--r--src/fmt_fp.c2
-rw-r--r--src/vm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fmt_fp.c b/src/fmt_fp.c
index 6f4828d99..43daf2307 100644
--- a/src/fmt_fp.c
+++ b/src/fmt_fp.c
@@ -8,7 +8,7 @@
Routine for converting a single-precision
floating point number into a string.
- The code in this funcion was inspired from Fred Bayer's pdouble.c.
+ The code in this function was inspired from Fred Bayer's pdouble.c.
Since pdouble.c was released as Public Domain, I'm releasing this
code as public domain as well.
diff --git a/src/vm.c b/src/vm.c
index 9eb667daa..d902716ca 100644
--- a/src/vm.c
+++ b/src/vm.c
@@ -2161,7 +2161,7 @@ RETRY_TRY_BLOCK:
}
/* check jump destination */
while (cibase <= ci && ci->proc != dst) {
- if (ci->acc < 0) { /* jump cross C boudary */
+ if (ci->acc < 0) { /* jump cross C boundary */
localjump_error(mrb, LOCALJUMP_ERROR_RETURN);
goto L_RAISE;
}