From 5d4a1d3b80066711a00b111a4832eecdb547024f Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 4 Nov 2015 13:14:41 -0800 Subject: 2354 --- 010vm.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '010vm.cc') diff --git a/010vm.cc b/010vm.cc index 906a2cd1..17f2140c 100644 --- a/010vm.cc +++ b/010vm.cc @@ -389,7 +389,7 @@ string dump_types(const reagent& x) { return out.str(); } -void dump_types(type_tree* type, ostream& out) { +void dump_types(const type_tree* type, ostream& out) { // abbreviate a single-node tree to just its contents if (!type->left && !type->right) { dump_type_name(type->value, out); @@ -398,7 +398,7 @@ void dump_types(type_tree* type, ostream& out) { dump_types_tree(type, out); } -void dump_types_tree(type_tree* type, ostream& out) { +void dump_types_tree(const type_tree* type, ostream& out) { out << "<"; if (type->left) dump_types_tree(type->left, out); -- cgit 1.4.1-2-gfad0 it' value='switch'/> Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/tangle.mu
blob: 3e73dd891f766cc2306acc7211c3c7e04e8d67c5 (plain) (tree)
1
2
3
4
5
6
7
8