Fixed Typos

This commit is contained in:
2022-10-02 10:49:10 +11:00
committed by GitHub
parent 9e09279b87
commit 84911dbb50
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
# Compiling Toy # Compiling Toy
This tutorial is a sub-section of [Using-Toy](using-toy) that has been spun off into it's own page for the sake of brevity/sanity. It's recommended that you read the main article first. This tutorial is a sub-section of [Using Toy](using-toy) that has been spun off into it's own page for the sake of brevity/sanity. It's recommended that you read the main article first.
The exact phases outline here are entirely implementation-dependent - that is, they aren't required, and are simply how the canonical version of Toy works. The exact phases outline here are entirely implementation-dependent - that is, they aren't required, and are simply how the canonical version of Toy works.

View File

@@ -72,7 +72,7 @@ int hookStandard(Interpreter* interpreter, Literal identifier, Literal alias) {
{NULL, NULL} {NULL, NULL}
}; };
//inject each native C functions into the current scope //inject each native C functions into the current scope
for (int i = 0; natives[i].name; i++) { for (int i = 0; natives[i].name; i++) {
injectNativeFn(interpreter, natives[i].name, natives[i].fn); injectNativeFn(interpreter, natives[i].name, natives[i].fn);
} }