summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-04-08 14:11:11 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-04-08 14:29:55 +0400
commit5f80687188db3a29fb0c3a5fe587aeeb3e13dccd (patch)
treed8f2c740e7150bd891d1418d3c02e55c0608a9f3 /starmath
parenteab7e131ecebe4cdefcdcb1ad176bbdce83cb467 (diff)
Revert "fdo#41739: Math: do not skip "newline" on error"
This reverts commit f52138deee9e129d0566f06d1d2138b6b159d16a. It was the cause of infinite recursive loops (huh, why, that was obvious!).
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/parse.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index e5c1ff4c3eab..b386cf36fbab 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -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();
}