diff options
Diffstat (limited to 'starmath/source/parse.cxx')
-rw-r--r-- | starmath/source/parse.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 0d3845936bf9..4bb9ff79be08 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -2097,7 +2097,7 @@ void SmParser::DoFunction() break; default: - Error(SmParseError::FuncExpected); + assert(false); } } @@ -2345,7 +2345,6 @@ void SmParser::AddError(SmParseError Type, SmNode *pNode) case SmParseError::RgroupExpected: nRID = RID_ERR_RGROUPEXPECTED; break; case SmParseError::LbraceExpected: nRID = RID_ERR_LBRACEEXPECTED; break; case SmParseError::RbraceExpected: nRID = RID_ERR_RBRACEEXPECTED; break; - case SmParseError::FuncExpected: nRID = RID_ERR_FUNCEXPECTED; break; case SmParseError::PoundExpected: nRID = RID_ERR_POUNDEXPECTED; break; case SmParseError::ColorExpected: nRID = RID_ERR_COLOREXPECTED; break; case SmParseError::RightExpected: nRID = RID_ERR_RIGHTEXPECTED; break; |