Fix error propagation error in parsing. Semantic checker fix for compile result struct. Test cleanup

This commit is contained in:
2025-08-18 07:11:41 +02:00
parent c36712b3ed
commit b7e34a22b2
11 changed files with 76 additions and 99 deletions

View File

@@ -296,10 +296,10 @@ pretty_print_if :: (node : *AST_Node, indentation : int, builder : *String_Build
append(builder, "\n");
body := node.children[1];
indent(builder,indentation + 4);
append(builder, "(");
pretty_print_node(body, indentation + 5, builder, true);
append(builder, ")");
// indent(builder,indentation + 4);
// append(builder, "(");
pretty_print_node(body, indentation + 4, builder);
// append(builder, ")");
if node.children.count == 3 {
append(builder, "\n");