Commit c89a971c authored by Victor Yacovlev's avatar Victor Yacovlev

Fixed 'not' vs comparision operator priority

parent ce1a900d
......@@ -4096,8 +4096,8 @@ int findOperatorByPriority(const QList<SubexpressionElement> & s)
static const QList<QSet <LexemType> > Omega = QList<QSet<LexemType> >()
<< ( QSet<LexemType>() << LxSecOr )
<< ( QSet<LexemType>() << LxSecAnd )
<< ( QSet<LexemType>() << LxSecNot )
<< ( QSet<LexemType>() << LxOperNotEqual << LxOperEqual << LxOperGreater << LxOperGreaterOrEqual << LxOperLess << LxOperLessOrEqual << LxPriAssign)
<< ( QSet<LexemType>() << LxSecNot )
<< ( QSet<LexemType>() << LxOperPlus << LxOperMinus )
<< ( QSet<LexemType>() << LxOperAsterisk << LxOperSlash )
<< ( QSet<LexemType>() << LxOperPower );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment