summaryrefslogtreecommitdiff
path: root/src/op.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-15 16:34:34 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-15 16:34:34 -0400
commit6f7f87699c509131ab5ffff330ba77abbd58e829 (patch)
tree17960cb9541037bb05abed7c0b8b6cd949e72b05 /src/op.cc
parentfcd7f4f73b50ec02ec1f501a8ebde502c6736850 (diff)
downloadfork-ledger-6f7f87699c509131ab5ffff330ba77abbd58e829.tar.gz
fork-ledger-6f7f87699c509131ab5ffff330ba77abbd58e829.tar.bz2
fork-ledger-6f7f87699c509131ab5ffff330ba77abbd58e829.zip
Parse '/' in an operator context as "div"
Diffstat (limited to 'src/op.cc')
-rw-r--r--src/op.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op.cc b/src/op.cc
index 65f559c0..7dbbf3a2 100644
--- a/src/op.cc
+++ b/src/op.cc
@@ -376,7 +376,7 @@ bool expr_t::op_t::print(std::ostream& out, const context_t& context) const
out << "(";
if (left() && left()->print(out, context))
found = true;
- out << " // ";
+ out << " / ";
if (has_right() && right()->print(out, context))
found = true;
out << ")";