Added vscode extension settings

Also fixed a repl util error case
This commit is contained in:
2026-05-01 21:01:53 +10:00
parent a45b2e71af
commit 96f7942049
4 changed files with 74 additions and 1 deletions
+1
View File
@@ -37,6 +37,7 @@ unsigned char* readFile(char* path, int* size) {
//read the file
if (fread(buffer, sizeof(unsigned char), *size, file) < (unsigned int)(*size)) {
fclose(file);
free(buffer);
*size = -2; //singal a read error
return NULL;
}