Token parser should allow subexpressions.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-01-31 14:30:24 +02:00
parent 79ef15c54c
commit c7256dbe0c

View File

@ -35,7 +35,6 @@ namespace qmu
QmuTokenParser::QmuTokenParser()
{
InitCharSets();
setAllowSubexpressions(false);//Only one expression per time
}
//---------------------------------------------------------------------------------------------------------------------
@ -61,9 +60,7 @@ QmuTokenParser::QmuTokenParser(const QString &formula, bool osSeparator,
:QmuFormulaBase()
{
InitCharSets();
setAllowSubexpressions(false);//Only one expression per time
SetVarFactory(AddVariable, this);
SetSepForTr(osSeparator, fromUser);
// Fix for issue #776. Valentina cannot recognize translated functions.