Commit aaae8074 authored by Adrien Matta's avatar Adrien Matta
Browse files

* Removing tabs as well as spaces in NPInputParser.

parent 5057e904
Pipeline #118527 passed with stages
in 9 minutes and 22 seconds
......@@ -29,6 +29,16 @@ std::string NPL::StripSpaces(std::string line){
while(*line.rbegin()==' ')
line = line.substr(0,line.length()-1);
// Remove preceding tabs
line = line.substr(1,line.length());
// Remove trailing tabs
line = line.substr(0,line.length()-1);
return line;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment