fix check when the second argument contains operator-characters

master
Marc Wäckerlin 5 years ago
parent 1faebb78a0
commit 08252354cd
  1. 1
      src/commands.hxx

@ -2622,7 +2622,6 @@ class Check: public Command {
throw BadArgument(tag()+" has at most three arguments", allargs); throw BadArgument(tag()+" has at most three arguments", allargs);
cmd->_value1 = allargs[0]; cmd->_value1 = allargs[0];
cmd->_cmp = allargs[1][0].toLatin1(); cmd->_cmp = allargs[1][0].toLatin1();
std::cout<<"ARGS: \""<<allargs.join("\", \"")<<"\"\n";
if (allargs.size()==3) { if (allargs.size()==3) {
cmd->_value2 = allargs[2]; cmd->_value2 = allargs[2];
} else { } else {

Loading…
Cancel
Save