Revert "fdo#41739: Math: do not skip "newline" on error"

This reverts commit f52138deee. It was the cause
of infinite recursive loops (huh, why, that was obvious!).
This commit is contained in:
Ivan Timofeev 2012-04-08 14:11:11 +04:00
parent eab7e131ec
commit 5f80687188

View file

@ -2424,9 +2424,7 @@ void SmParser::Error(SmParseError eError)
AddError(eError, pSNode);
// Even if the newline token is unexpected, do not skip it. (fdo#41739)
if (m_aCurToken.eType != TNEWLINE)
NextToken();
NextToken();
}