summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-01 18:36:40 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-01 18:36:40 -0400
commitcadb02c257d0f461ad71e7377a8bdecf0b4cf6dc (patch)
tree39f90ff6361a7dc3d3d7f1e2291c1928b5eed4bc
parentae65e8ae05b82bee8be61156b4c39a519e8b4ba5 (diff)
downloadfork-ledger-cadb02c257d0f461ad71e7377a8bdecf0b4cf6dc.tar.gz
fork-ledger-cadb02c257d0f461ad71e7377a8bdecf0b4cf6dc.tar.bz2
fork-ledger-cadb02c257d0f461ad71e7377a8bdecf0b4cf6dc.zip
Fixed a display problem when dumping O_MATCH expressions.
-rw-r--r--src/op.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/op.cc b/src/op.cc
index 215c6864..fac4ce18 100644
--- a/src/op.cc
+++ b/src/op.cc
@@ -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;