Fix math parser tests.

This commit is contained in:
Roman Telezhynskyi 2023-02-10 17:56:36 +02:00
parent 3a88048952
commit f5f4b1e4c8

View File

@ -485,9 +485,7 @@ auto QmuParserTokenReader::IsArgSep ( token_type &a_Tok ) -> bool
if ( m_strFormula.at ( m_iPos ) == m_cArgSep ) if ( m_strFormula.at ( m_iPos ) == m_cArgSep )
{ {
// copy the separator into null terminated string // copy the separator into null terminated string
QString szSep; QString szSep(m_cArgSep);
szSep[0] = m_cArgSep;
szSep[1] = QChar::Null;
if ( m_iSynFlags & noARG_SEP ) if ( m_iSynFlags & noARG_SEP )
{ {