[CSV] Allowed '//' comments in .csv files

This commit is contained in:
Joelrau 2020-07-23 06:35:50 +03:00 committed by Maurice Heumann
parent 4bdde19dba
commit da52129076

View File

@ -110,7 +110,7 @@ namespace Utils
//++i;
continue;
}
else if (!isString && row[i] == '#' && allowComments) // Skip comments. I know CSVs usually don't have comments, but in this case it's useful
else if (!isString && (row[i] == '#' || (row[i] == '/' && row[i+1] == '/') ) && allowComments) // Skip comments. I know CSVs usually don't have comments, but in this case it's useful
{
return;
}