From 587327df599069692dc8de6f4679bf09171b0e44 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 31 Dec 2010 04:55:12 +0000 Subject: Only print def type annotations when requested. git-svn-id: http://svn.drobilla.net/resp/resp@389 ad02d1e2-f140-0410-9f75-f8b11f17cedd --- src/pprint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pprint.cpp') 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); -- cgit v1.2.1