Skip to content
Snippets Groups Projects
Commit ea4cbf11 authored by Francois Henrotte's avatar Francois Henrotte
Browse files

bug corrected in logical expressions

parent 3db9df87
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ int extractLogic(const std::string &in, std::vector<std::string> &arguments){
do{
if(in[pos]=='(') count++;
if(in[pos]==')') count--;
if( (in[pos]=='<') || (in[pos]=='=') || (in[pos]=='>') ){
if( (in[pos]=='<') || (in[pos]=='=') || (in[pos]=='>') || (in[pos]=='!') ){
arguments.push_back(removeBlanks(in.substr(cursor,pos-cursor)));
if(count!=1)
OLMsg::Fatal("Syntax error: <%s>",in.c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment