diff --git a/src/plugins/kumiranalizer/syntaxanalizer.cpp b/src/plugins/kumiranalizer/syntaxanalizer.cpp index 38d0b115ef9126b24c508c30670910c22779ee2e..aab3aac6488ad64fbbcfdc81057bbd93a10e65b9 100644 --- a/src/plugins/kumiranalizer/syntaxanalizer.cpp +++ b/src/plugins/kumiranalizer/syntaxanalizer.cpp @@ -3354,8 +3354,9 @@ AST::Expression * SyntaxAnalizerPrivate::parseExpression( else if (blockType==Simple) { if (block.isEmpty() && notFlag) { bool isUnaryOperatorAfterNot = + curPostype==LxOperPlus || - lexems[curPos]->type==LxOperMinus ; + lexems[curPos]->type==LxOperMinus ); if (curPos==lexems.length()-1 || !isUnaryOperatorAfterNot) { notFlag->error = _("Extra 'not'"); return 0;