summaryrefslogtreecommitdiff
path: root/tnslc/compile/function.tnsl
diff options
context:
space:
mode:
authorKai Gunger <kgunger12@gmail.com>2025-12-19 00:35:34 -0500
committerKai Gunger <kgunger12@gmail.com>2025-12-19 00:35:34 -0500
commitf9df5cb9c377b54ae56123416d7921cf870b0bb7 (patch)
treefe068decbdbfb18875792ae1b65aa04343c5037f /tnslc/compile/function.tnsl
parenta87a01d2d80e3bb764b9aa2051c9be7f47f977a6 (diff)
Change indentingorigin
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)