From 1a60646e38d2a88fb1eaad30175d4d8f4637e4da Mon Sep 17 00:00:00 2001 From: Derick Alangi Date: Tue, 8 Jun 2021 17:49:58 +0100 Subject: [PATCH] Fix minor typos, while reading codebase (#46) * Fix minor typos, while reading codebase * Fix typo in common.h comment * Fix typo in src/common.h --- cli/TODO.txt | 2 +- cli/main.c | 4 ++-- src/common.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cli/TODO.txt b/cli/TODO.txt index 094ef84..4d768cd 100644 --- a/cli/TODO.txt +++ b/cli/TODO.txt @@ -43,7 +43,7 @@ // Add more. - Single header for embedding (script in pk, require file IO). -[ ] Compilte core methods. +[ ] Complete core methods. [ ] Complete var methods. [ ] Complete core functions. [ ] Complete builtin operators. diff --git a/cli/main.c b/cli/main.c index 7663e0f..4b48e6e 100644 --- a/cli/main.c +++ b/cli/main.c @@ -9,7 +9,7 @@ #include -// FIXME: everything below here is temproary and for testing. +// FIXME: everything below here is temporary and for testing. void registerModules(PKVM* vm); @@ -195,7 +195,7 @@ int main(int argc, char** argv) { do { printf(">>> "); PkStringPtr line = { read_line(), onResultDone, (void*)true }; - // TODO: if line is empty continue. + // TODO: if line is empty, continue. result = pkCompileModule(vm, module, line, &options); if (result != PK_RESULT_SUCCESS) continue; diff --git a/src/common.h b/src/common.h index fc7de32..4e02bb6 100644 --- a/src/common.h +++ b/src/common.h @@ -8,9 +8,9 @@ #include "include/pocketlang.h" -// Commenly used c standard headers across the sources. Don't include any +// Commonly used c standard headers across the sources. Don't include any // headers that are specific to a single source here, instead include them in -// their source files explicitly (canno't be implicitly included by another +// their source files explicitly (can not be implicitly included by another // header). And don't include any C standard headers in any of the pocketlang // headers. #include