From 487442b05dfe602ee7b623f8346ee7ef4a262254 Mon Sep 17 00:00:00 2001 From: overflowerror Date: Tue, 8 Jun 2021 19:42:17 +0200 Subject: [PATCH] fix indentation of parent size calculation --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 9fb0b7d..69ed454 100644 --- a/src/main.c +++ b/src/main.c @@ -164,7 +164,7 @@ void generateSize() { generateArguments(); if (result.parent != NULL) { - fprintf(output, "%s += sizeTemplate(%s);\n", SIZE_ACCUMULATOR_VAR, result.parent); + fprintf(output, "\t%s += sizeTemplate(%s);\n", SIZE_ACCUMULATOR_VAR, result.parent); } parseTreeSize(1, result.tree);