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:
parent
eab7e131ec
commit
5f80687188
1 changed files with 1 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue