aboutsummaryrefslogtreecommitdiff
path: root/src/formatter/utils.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-29 14:04:55 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-29 14:04:55 -0400
commit2d3021728bf5c74f8bf6854c1ae4951a6ebbf9c7 (patch)
tree3da6684c56138432b4313856bdce17706e3ec216 /src/formatter/utils.h
parent0e67c79f6fc05e79749c2a007df459f926d3dba4 (diff)
Formatting tweaks/fixes
Diffstat (limited to 'src/formatter/utils.h')
-rw-r--r--src/formatter/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/formatter/utils.h b/src/formatter/utils.h
index d847c2fb..0a00be6c 100644
--- a/src/formatter/utils.h
+++ b/src/formatter/utils.h
@@ -22,7 +22,7 @@ extern const Text_t single_indent;
void add_line(Text_t *code, Text_t line, Text_t indent);
OptionalText_t next_comment(Table_t comments, const char **pos, const char *end);
bool range_has_comment(const char *start, const char *end, Table_t comments);
-CONSTFUNC bool should_have_blank_line(ast_t *ast);
+CONSTFUNC int suggested_blank_lines(ast_t *ast);
Text_t indent_code(Text_t code);
Text_t parenthesize(Text_t code, Text_t indent);
CONSTFUNC ast_t *unwrap_block(ast_t *ast);