- Added the new Variant::operator_hastag and Variant::operator_notag operators
  to the expression evaluator. All operators now implemented, at least in
  stubbed form.
This commit is contained in:
Paul Beckingham 2014-05-26 21:05:38 -04:00
parent ae356a1d32
commit e88ccee1e6

View file

@ -287,6 +287,8 @@ void Eval::evaluatePostfixStack (
else if (token->first == "xor") left = left.operator_xor (right);
else if (token->first == "~") left = left.operator_match (right);
else if (token->first == "!~") left = left.operator_nomatch (right);
else if (token->first == "_hastag_") left = left.operator_hastag (right);
else if (token->first == "_notag_") left = left.operator_notag (right);
else
std::cout << "# Unrecognized operator '" << token->first << "'\n";