aboutsummaryrefslogtreecommitdiff
path: root/src/compile/blocks.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-12-28 17:27:05 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-12-28 17:27:05 -0500
commitcfce376f585e0cd0231e95843617f75bd65b6c07 (patch)
tree9457de8bb9b8d0643c83cd5c08182af6a86804b7 /src/compile/blocks.c
parentb80e21ce3d673d981e44a725c62b62563a77db9b (diff)
Change autoformatter to no longer allow single-line functions
Diffstat (limited to 'src/compile/blocks.c')
-rw-r--r--src/compile/blocks.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compile/blocks.c b/src/compile/blocks.c
index 1059fd34..66869ecc 100644
--- a/src/compile/blocks.c
+++ b/src/compile/blocks.c
@@ -9,7 +9,9 @@
#include "compilation.h"
public
-Text_t compile_block(env_t *env, ast_t *ast) { return Texts("{\n", compile_inline_block(env, ast), "}\n"); }
+Text_t compile_block(env_t *env, ast_t *ast) {
+ return Texts("{\n", compile_inline_block(env, ast), "}\n");
+}
Text_t compile_block_expression(env_t *env, ast_t *ast) {
ast_list_t *stmts = Match(ast, Block)->statements;