Fixed a display problem when dumping O_MATCH expressions.

This commit is contained in:
John Wiegley 2009-02-01 18:36:40 -04:00
parent ae65e8ae05
commit cadb02c257

View file

@ -380,10 +380,9 @@ bool expr_t::op_t::print(std::ostream& out, const context_t& context) const
break;
case O_MATCH:
out << '/';
if (left() && left()->print(out, context))
found = true;
out << "/ =~ ";
out << " =~ ";
if (has_right() && right()->print(out, context))
found = true;
break;