summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
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();
}