summaryrefslogtreecommitdiff
path: root/tnslc/compile/function.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/compile/function.tnsl')
-rw-r--r--tnslc/compile/function.tnsl12
1 files changed, 6 insertions, 6 deletions
diff --git a/tnslc/compile/function.tnsl b/tnslc/compile/function.tnsl
index eec65ed..0ad8e6f 100644
--- a/tnslc/compile/function.tnsl
+++ b/tnslc/compile/function.tnsl
@@ -198,19 +198,19 @@ struct Function {
_printf(self.name)
_printf("\n\0")
- _indent(idt)
- _printf(" inputs:\n\0")
+ _indent(idt + 1)
+ _printf("inputs:\n\0")
~Var prtv
/; loop (int i = 0; i < self.inputs.count) [i++]
prtv = self.inputs.get(i)
- prtv`._print(idt + 1)
+ prtv`._print(idt + 2)
;/
- _indent(idt)
- _printf(" outputs:\n\0")
+ _indent(idt + 1)
+ _printf("outputs:\n\0")
/; loop (int i = 0; i < self.outputs.count) [i++]
prtv = self.outputs.get(i)
- prtv`._print(idt + 1)
+ prtv`._print(idt + 2)
;/
_indent(idt)