aboutsummaryrefslogtreecommitdiffstats
path: root/src/pprint.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-31 04:55:12 +0000
committerDavid Robillard <d@drobilla.net>2010-12-31 04:55:12 +0000
commit587327df599069692dc8de6f4679bf09171b0e44 (patch)
tree5a546ad8a138b0551ca4eada7eb677c715eeafd4 /src/pprint.cpp
parenta94ba9d90a9fe48a3933f2932b7955b5b248b623 (diff)
downloadresp-587327df599069692dc8de6f4679bf09171b0e44.tar.gz
resp-587327df599069692dc8de6f4679bf09171b0e44.tar.bz2
resp-587327df599069692dc8de6f4679bf09171b0e44.zip
Only print def type annotations when requested.
git-svn-id: http://svn.drobilla.net/resp/resp@389 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/pprint.cpp')
-rw-r--r--src/pprint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pprint.cpp b/src/pprint.cpp
index 56f1f91..65372d7 100644
--- a/src/pprint.cpp
+++ b/src/pprint.cpp
@@ -143,7 +143,7 @@ print_to(ostream& out, const AST* ast, unsigned indent, CEnv* cenv, bool types)
const ATuple* const fn = tup->frrst()->as_tuple();
const ATuple* const prot = fn->frst()->as_tuple();
print_list_one_line(out, prot, prot->begin(), indent + 7, cenv, types, types);
- print_annotation(out, fn, indent + head_width + 1, cenv, true);
+ print_annotation(out, fn, indent + head_width + 1, cenv, types);
newline(out, indent + 2);
print_list(out, fn, fn->iter_at(2), indent + 2, cenv, types, false);