diff --git a/src/core/compile.c b/src/core/compile.c index c7a9cfb2..37d2491c 100644 --- a/src/core/compile.c +++ b/src/core/compile.c @@ -259,7 +259,7 @@ static int lookup_missing( return 1; } -/* Check if a binding is defined in an upper scope. This let's us check for +/* Check if a binding is defined in an upper scope. This lets us check for * variable shadowing. */ int janetc_shadowcheck(JanetCompiler *c, const uint8_t *sym) { /* Check locals */ diff --git a/src/core/compile.h b/src/core/compile.h index 3701129b..45d15eb6 100644 --- a/src/core/compile.h +++ b/src/core/compile.h @@ -272,7 +272,7 @@ JanetFuncDef *janetc_pop_funcdef(JanetCompiler *c); /* Create a destroy slot */ JanetSlot janetc_cslot(Janet x); -/* Search for a symbol, and mark any found symbols as "used" for dead code elimintation and linting */ +/* Search for a symbol, and mark any found symbols as "used" for dead code elimination and linting */ JanetSlot janetc_resolve(JanetCompiler *c, const uint8_t *sym); /* Check if a symbol is already in scope for shadowing lints */