Removed unnecessary code

Also made console be cleared when a build process is done to make it look cleaner.
This commit is contained in:
Pasha Bibko
2025-08-20 20:57:04 +01:00
parent e16dfc5ad9
commit d604de28fd
4 changed files with 14 additions and 5 deletions

2
.vscode/launch.json vendored
View File

@@ -37,7 +37,7 @@
"cwd": "${workspaceFolder}",
"environment": [],
"console": "externalTerminal",
"preLaunchTask": "build"
},

13
.vscode/tasks.json vendored
View File

@@ -3,12 +3,23 @@
"tasks":
[
{
"label": "Clear console",
"type": "shell",
"group": "none",
"windows": { "command": "cls" },
"linux" : { "command": "clear" }
},
{
"label": "build",
"type": "shell",
"command": "cmake --build build",
"group": "build",
"problemMatcher": []
"problemMatcher": [],
"dependsOn": [ "Clear console" ]
}
]
}

View File

@@ -73,7 +73,5 @@ int main(int argc, char** argv)
Util::Log("Function AST", functionsAST.Result());
}
functionsAST.Result().~vector();
return 0;
}

View File

@@ -38,7 +38,7 @@ namespace PashaBibko::LXC::Parser
os << ", ";
}
os << ")";
os << ") [" << contents.size() << ']';
return os.str();
}
};