Print <POINTER> if value_t::is_pointer()
This commit is contained in:
parent
6ccc466a08
commit
f8681e482e
1 changed files with 4 additions and 0 deletions
|
|
@ -1314,6 +1314,10 @@ void value_t::print(std::ostream& out,
|
||||||
as_balance().print(out, first_width, latter_width);
|
as_balance().print(out, first_width, latter_width);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case POINTER:
|
||||||
|
out << "<POINTER>";
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
throw_(value_error, "Cannot print " << label());
|
throw_(value_error, "Cannot print " << label());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue