Added the about library, resolved #51

This commit is contained in:
2023-02-05 14:42:53 +00:00
parent 3949be3706
commit 7ea249f723
12 changed files with 187 additions and 6 deletions

View File

@@ -49,7 +49,7 @@ int Toy_hookStandard(Toy_Interpreter* interpreter, Toy_Literal identifier, Toy_L
if (Toy_isDelcaredScopeVariable(interpreter->scope, alias)) {
interpreter->errorOutput("Can't override an existing variable\n");
Toy_freeLiteral(alias);
return false;
return -1;
}
//create the dictionary to load up with functions