Fix math parser tests.
This commit is contained in:
parent
3a88048952
commit
f5f4b1e4c8
|
@ -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 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user