Dump IDENT referral values in op_t::dump

This commit is contained in:
John Wiegley 2012-03-07 05:21:40 -06:00
parent 76f97a63da
commit 65835a89cc

View file

@ -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())