Added vscode extension settings
Also fixed a repl util error case
This commit is contained in:
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"gruntfuggly.todo-tree"
|
||||
]
|
||||
}
|
||||
Vendored
+67
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"todo-tree.filtering.includeGlobs": [
|
||||
"**/repl/**",
|
||||
"**/scripts/**",
|
||||
"**/source/**",
|
||||
"**/tests/**",
|
||||
"**/tools/**",
|
||||
],
|
||||
"todo-tree.filtering.excludeGlobs": [
|
||||
"**/obj/**",
|
||||
"**/out/**",
|
||||
"**/Toy/**",
|
||||
],
|
||||
"todo-tree.general.tags": [
|
||||
"URGENT",
|
||||
"BUG",
|
||||
"TODO",
|
||||
"WARN",
|
||||
"BUGFIX",
|
||||
"WONTFIX",
|
||||
"NOTE"
|
||||
],
|
||||
"todo-tree.highlights.customHighlight": {
|
||||
"URGENT": {
|
||||
"icon": "alert",
|
||||
"type": "text",
|
||||
"iconColour": "#FF0000",
|
||||
"foreground": "#FF0000"
|
||||
},
|
||||
"BUG": {
|
||||
"icon": "bug",
|
||||
"type": "text",
|
||||
"iconColour": "#FF0000",
|
||||
"foreground": "#FF0000"
|
||||
},
|
||||
"TODO": {
|
||||
"icon": "alert",
|
||||
"type": "text",
|
||||
"iconColour": "#FFFF00",
|
||||
"foreground": "#FFFF00"
|
||||
},
|
||||
"WARN": {
|
||||
"icon": "alert",
|
||||
"type": "text",
|
||||
"iconColour": "#FFA500",
|
||||
"foreground": "#FFA500"
|
||||
},
|
||||
"BUGFIX": {
|
||||
"icon": "bug",
|
||||
"type": "text",
|
||||
"iconColour": "#00A000",
|
||||
"foreground": "#00A000"
|
||||
},
|
||||
"WONTFIX": {
|
||||
"icon": "bug",
|
||||
"type": "text",
|
||||
"iconColour": "#B64949",
|
||||
"foreground": "#B64949"
|
||||
},
|
||||
"NOTE": {
|
||||
"icon": "alert",
|
||||
"type": "text",
|
||||
"iconColour": "#00A000",
|
||||
"foreground": "#00A000"
|
||||
},
|
||||
}
|
||||
}
|
||||
+1
-1
Submodule Toy updated: 18a4b33c4e...7cdb81e0bf
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user