Token parser should allow subexpressions.
--HG-- branch : develop
This commit is contained in:
parent
79ef15c54c
commit
c7256dbe0c
|
@ -35,7 +35,6 @@ namespace qmu
|
||||||
QmuTokenParser::QmuTokenParser()
|
QmuTokenParser::QmuTokenParser()
|
||||||
{
|
{
|
||||||
InitCharSets();
|
InitCharSets();
|
||||||
setAllowSubexpressions(false);//Only one expression per time
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
@ -61,9 +60,7 @@ QmuTokenParser::QmuTokenParser(const QString &formula, bool osSeparator,
|
||||||
:QmuFormulaBase()
|
:QmuFormulaBase()
|
||||||
{
|
{
|
||||||
InitCharSets();
|
InitCharSets();
|
||||||
setAllowSubexpressions(false);//Only one expression per time
|
|
||||||
SetVarFactory(AddVariable, this);
|
SetVarFactory(AddVariable, this);
|
||||||
|
|
||||||
SetSepForTr(osSeparator, fromUser);
|
SetSepForTr(osSeparator, fromUser);
|
||||||
|
|
||||||
// Fix for issue #776. Valentina cannot recognize translated functions.
|
// Fix for issue #776. Valentina cannot recognize translated functions.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user