ltlcross: end CSV lines with \n, not \r\n
* src/bin/ltlcross.cc (print_stats_csv): Revert the recent addition of \r, it is caussing too many issues. * NEWS: Mention it.
This commit is contained in:
parent
846e33b9e5
commit
6c21089599
2 changed files with 9 additions and 4 deletions
|
|
@ -1535,18 +1535,18 @@ print_stats_csv(const char* filename)
|
|||
|
||||
*out << "\"formula\",\"tool\",";
|
||||
statistics::fields(*out, !opt_omit, has_sr);
|
||||
*out << "\r\n";
|
||||
*out << '\n';
|
||||
for (unsigned r = 0; r < rounds; ++r)
|
||||
for (unsigned t = 0; t < ntrans; ++t)
|
||||
if (!opt_omit || vstats[r][t].ok)
|
||||
{
|
||||
*out << "\"";
|
||||
*out << '"';
|
||||
spot::escape_rfc4180(*out, formulas[r]);
|
||||
*out << "\",\"";
|
||||
spot::escape_rfc4180(*out, translators[t].name);
|
||||
*out << "\",";
|
||||
vstats[r][t].to_csv(*out, !opt_omit, has_sr);
|
||||
*out << "\r\n";
|
||||
*out << '\n';
|
||||
}
|
||||
delete outfile;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue