aboutsummaryrefslogtreecommitdiffstats
path: root/src/pprint.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-31 04:53:23 +0000
committerDavid Robillard <d@drobilla.net>2010-12-31 04:53:23 +0000
commita94ba9d90a9fe48a3933f2932b7955b5b248b623 (patch)
tree77f7e5390d667361d51cc6b590e1decf7e78f46d /src/pprint.cpp
parent3b0975009a400cc41e9d975c6b81ab5965bbb0fa (diff)
downloadresp-a94ba9d90a9fe48a3933f2932b7955b5b248b623.tar.gz
resp-a94ba9d90a9fe48a3933f2932b7955b5b248b623.tar.bz2
resp-a94ba9d90a9fe48a3933f2932b7955b5b248b623.zip
Define named (and possibly recursive) types for closures and functions.
Compile type definitions all the way to LLVM IR (including recursive types). git-svn-id: http://svn.drobilla.net/resp/resp@388 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/pprint.cpp')
-rw-r--r--src/pprint.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pprint.cpp b/src/pprint.cpp
index 718e43b..56f1f91 100644
--- a/src/pprint.cpp
+++ b/src/pprint.cpp
@@ -143,6 +143,8 @@ 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);
+
newline(out, indent + 2);
print_list(out, fn, fn->iter_at(2), indent + 2, cenv, types, false);
} else {