summaryrefslogtreecommitdiff
path: root/src/op.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-07 05:21:40 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-07 05:21:40 -0600
commit65835a89ccbcb9c0a0297b4f7c6adbfd768dca84 (patch)
tree7ee05e5e82714d3e359fee7af465314dad444c95 /src/op.cc
parent76f97a63da2deb8b6f9f8129bb11f5608d4a5518 (diff)
downloadfork-ledger-65835a89ccbcb9c0a0297b4f7c6adbfd768dca84.tar.gz
fork-ledger-65835a89ccbcb9c0a0297b4f7c6adbfd768dca84.tar.bz2
fork-ledger-65835a89ccbcb9c0a0297b4f7c6adbfd768dca84.zip
Dump IDENT referral values in op_t::dump
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 1889f2aa..b8893bc9 100644
--- a/src/op.cc
+++ b/src/op.cc
@@ -818,7 +818,7 @@ void expr_t::op_t::dump(std::ostream& out, const int depth) const
// An identifier is a special non-terminal, in that its left() can
// hold the compiled definition of the identifier.
- if (kind > TERMINALS || is_scope()) {
+ if (kind > TERMINALS || is_scope() || is_ident()) {
if (left()) {
left()->dump(out, depth + 1);
if (kind > UNARY_OPERATORS && has_right())