diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-12-28 17:27:05 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-12-28 17:27:05 -0500 |
| commit | cfce376f585e0cd0231e95843617f75bd65b6c07 (patch) | |
| tree | 9457de8bb9b8d0643c83cd5c08182af6a86804b7 /src/compile/text.h | |
| parent | b80e21ce3d673d981e44a725c62b62563a77db9b (diff) | |
Change autoformatter to no longer allow single-line functions
Diffstat (limited to 'src/compile/text.h')
| -rw-r--r-- | src/compile/text.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/compile/text.h b/src/compile/text.h index c160c7a9..ae3cc5c3 100644 --- a/src/compile/text.h +++ b/src/compile/text.h @@ -14,5 +14,9 @@ Text_t compile_text(env_t *env, ast_t *ast, Text_t color); Text_t compile_text_literal(Text_t literal); Text_t expr_as_text(Text_t expr, type_t *t, Text_t color); -MACROLIKE Text_t quoted_str(const char *str) { return Text$quoted(Text$from_str(str), false, Text("\"")); } -MACROLIKE Text_t quoted_text(Text_t text) { return Text$quoted(text, false, Text("\"")); } +MACROLIKE Text_t quoted_str(const char *str) { + return Text$quoted(Text$from_str(str), false, Text("\"")); +} +MACROLIKE Text_t quoted_text(Text_t text) { + return Text$quoted(text, false, Text("\"")); +} |
