Improve logging and Nodump handling

This commit is contained in:
Matt Nadareski
2016-05-18 16:37:39 -07:00
parent 3ee1753b21
commit b08433cd52
3 changed files with 11 additions and 5 deletions

View File

@@ -75,6 +75,11 @@ namespace SabreTools.Helper
{
continue;
}
// Special case for nodump...
else if (gc[i] == "nodump" && attrib != "status" && attrib != "flags")
{
temp.SetAttributeValue("status", "nodump");
}
// Even number of quotes, not in a quote, not in attribute
else if (Regex.Matches(gc[i], "\"").Count % 2 == 0 && !quote && attrib == "")
{