Fixed a display problem when dumping O_MATCH expressions.
This commit is contained in:
parent
ae65e8ae05
commit
cadb02c257
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue