Comments aren't standard

This commit is contained in:
Matt Nadareski
2016-04-19 14:34:11 -07:00
parent f9bf8ec836
commit 67d2e7b226

View File

@@ -30,6 +30,12 @@ namespace SabreTools.Helper
{ {
string line = filecontents[k]; string line = filecontents[k];
// Comments in RV DATs start with a #
if (line.StartsWith("#"))
{
continue;
}
// If the line is the header or a game // If the line is the header or a game
if (Regex.IsMatch(line, _headerPattern)) if (Regex.IsMatch(line, _headerPattern))
{ {