diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-02-19 16:58:18 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-02-19 16:58:18 -0800 |
commit | 97020a9cd114c73cc9d70829274068d7a4a4140c (patch) | |
tree | ff827af7a14a072b7b55c4c797554681fa313c07 /010vm.cc | |
parent | 15c44292f0c338ace40ab85dcf5b4b9bf04e997f (diff) | |
download | mu-97020a9cd114c73cc9d70829274068d7a4a4140c.tar.gz |
2672
Diffstat (limited to '010vm.cc')
-rw-r--r-- | 010vm.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/010vm.cc b/010vm.cc index ed98bf6d..175abaf0 100644 --- a/010vm.cc +++ b/010vm.cc @@ -521,19 +521,19 @@ string to_string(const type_tree* type) { if (!type->left && !type->right) dump(type->value, out); else - dump_debug(type, out); + dump(type, out); return out.str(); } -void dump_debug(const type_tree* type, ostream& out) { +void dump(const type_tree* type, ostream& out) { out << "<"; if (type->left) - dump_debug(type->left, out); + dump(type->left, out); else dump(type->value, out); out << " : "; if (type->right) - dump_debug(type->right, out); + dump(type->right, out); else out << "<>"; out << ">"; |