commit 2955c8936edc938c475381c814ba416951c47089
parent 7109c591a98840fc5804416e9c0978410715e939
Author: Sebastian <sebastian@sebsite.pw>
Date: Thu, 17 Feb 2022 15:07:50 -0500
unparse: add documentation for decl
Signed-off-by: Sebastian <sebastian@sebsite.pw>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/hare/unparse/decl.ha b/hare/unparse/decl.ha
@@ -4,6 +4,7 @@ use hare::ast;
use hare::lex;
use strio;
+// Unparses an [[ast::decl]].
export fn decl(out: io::handle, d: ast::decl) (size | io::error) = {
let n = 0z;
if (d.exported) {