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
This commit is contained in:
Derick Alangi 2021-06-08 17:49:58 +01:00 committed by GitHub
parent 595f120ecd
commit 1a60646e38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -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.

View File

@ -9,7 +9,7 @@
#include <pocketlang.h>
// 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;

View File

@ -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 <assert.h>