diff --git a/c-api/toy_drive_system_h.md b/c-api/drive_system_h.md similarity index 100% rename from c-api/toy_drive_system_h.md rename to c-api/drive_system_h.md diff --git a/c-api/toy_h.md b/c-api/toy_h.md index cd0b7ba..be1f7ce 100644 --- a/c-api/toy_h.md +++ b/c-api/toy_h.md @@ -13,7 +13,6 @@ The most important macro is `TOY_API`, which specifies functions intended for th * [toy_common.h](toy_common_h.md) * [toy_console_colors.h](toy_console_colors_h.md) * [toy_memory.h](toy_memory_h.md) -* [toy_drive_system.h](toy_drive_system_h.md) ## Core Pipeline diff --git a/c-api/toy_scope_h.md b/c-api/toy_scope_h.md index 4954a51..e205162 100644 --- a/c-api/toy_scope_h.md +++ b/c-api/toy_scope_h.md @@ -29,7 +29,7 @@ This function declares a new variable `key` within `scope`, giving it the type o This function returns true on success, otherwise it returns failure (such as if the given key already exists). -### bool Toy_isDelcaredScopeVariable(Toy_Scope* scope, Toy_Literal key) +### bool Toy_isDeclaredScopeVariable(Toy_Scope* scope, Toy_Literal key) This function checks to see if a given variable with the name `key` has been previously declared. diff --git a/index.md b/index.md index 451d794..190467d 100644 --- a/index.md +++ b/index.md @@ -63,10 +63,10 @@ print tally(); //3 ## Public C API * [repl_tools.h](c-api/repl_tools_h.md) +* [drive_system.h](c-api/drive_system_h.md) * [toy.h](c-api/toy_h.md) * [toy_common.h](c-api/toy_common_h.md) * [toy_compiler.h](c-api/toy_compiler_h.md) -* [toy_drive_system.h](c-api/toy_drive_system_h.md) * [toy_interpreter.h](c-api/toy_interpreter_h.md) * [toy_lexer.h](c-api/toy_lexer_h.md) * [toy_literal_array.h](c-api/toy_literal_array_h.md)