[ClavaLaraApi] Logger no longer uses std::endl for new line in C++
Was incorrectly using std::endl when the file had a .c extension, but
a C++ standard flag;
@@ -16,11 +16,12 @@ Logger.prototype.printfFormat[Logger.prototype.Type.LONGLONG] = "%lld";
//Logger.prototype.useSpecsLogger = true;
Logger.prototype.ln = function(expr) {
-
+// At this point, we don't know if the new line will be in a C++ or C file
+/*
if(Clava.isCxx()) {
return this._append_private("std::endl", this.Type.LITERAL);
}
-
+*/
return this._append_private("\\n", this.Type.NORMAL);
}
