[CSV] Allowed '//' comments in .csv files
This commit is contained in:
parent
4bdde19dba
commit
da52129076
@ -110,7 +110,7 @@ namespace Utils
|
|||||||
//++i;
|
//++i;
|
||||||
continue;
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user