Removed unnecessary code
Also made console be cleared when a build process is done to make it look cleaner.
This commit is contained in:
13
.vscode/tasks.json
vendored
13
.vscode/tasks.json
vendored
@@ -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" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -73,7 +73,5 @@ int main(int argc, char** argv)
|
||||
Util::Log("Function AST", functionsAST.Result());
|
||||
}
|
||||
|
||||
functionsAST.Result().~vector();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace PashaBibko::LXC::Parser
|
||||
os << ", ";
|
||||
}
|
||||
|
||||
os << ")";
|
||||
os << ") [" << contents.size() << ']';
|
||||
return os.str();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user