Kaydet (Commit) f52138de authored tarafından Ivan Timofeev's avatar Ivan Timofeev

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

üst cb9e4538
...@@ -2424,7 +2424,9 @@ void SmParser::Error(SmParseError eError) ...@@ -2424,7 +2424,9 @@ void SmParser::Error(SmParseError eError)
AddError(eError, pSNode); AddError(eError, pSNode);
NextToken(); // Even if the newline token is unexpected, do not skip it. (fdo#41739)
if (m_aCurToken.eType != TNEWLINE)
NextToken();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment