Use @unknownbrackets fix

This commit is contained in:
sum2012 committed 2014-04-24 06:36:34 +08:00
1 parent 86b7797985
commit db29bc50cf
1 file changed
+2 -6
+2 -6
View File
@@ -40,13 +40,9 @@ static bool ParseLine(const std::string& line, std::string* keyOut, std::string*
FirstCommentChar = 0;
// Allow preservation of spacing before comment
if (FirstCommentChar > 0)
while (FirstCommentChar > 0 && line[FirstCommentChar - 1] <= ' ')
{
while (line[FirstCommentChar - 1] == ' ' || line[FirstCommentChar - 1] == 9) // 9 == tab
{
FirstCommentChar--;
if (FirstCommentChar <= 0) break;
}
FirstCommentChar--;
}
if ((FirstEquals >= 0) && ((FirstCommentChar < 0) || (FirstEquals < FirstCommentChar)))