Files
zig/lib/std
Kendall Condon fcc54ca981 zig fmt: fix many bugs with multiline string literals
Adds two new space modes maybe_space and comma_maybe_space which only
render the space when the next token is not a multiline string literal.
This is used in a lot of places to avoid a trailing space on lines
caused by multiline string literals forcing newlines.

Fixes places where the node tag is compared to be a multiline string
literal to instead check if the first token is a multiline string
literal line. This fixes cases like `\\ ++ text`.

This commit also rewrites quite a bit of code to be clearer /
deduplicated.
2026-03-12 17:22:46 -04:00
..
2026-03-10 10:38:50 +00:00
2025-11-22 22:42:38 +00:00
2026-03-10 10:26:07 +00:00
2026-03-10 10:38:50 +00:00
2025-11-22 22:42:38 +00:00
2026-02-11 23:37:31 +01:00
2026-03-10 10:38:50 +00:00
2026-02-13 17:58:09 -05:00
2026-03-10 10:38:50 +00:00
2026-03-10 10:26:07 +00:00
2025-12-22 10:00:35 -08:00
2025-11-22 22:42:38 +00:00
2025-08-29 17:14:26 -07:00
2025-08-29 17:14:26 -07:00
2026-03-10 10:38:50 +00:00
2026-03-10 10:26:14 +00:00
2026-02-11 23:37:31 +01:00
2026-03-09 03:19:11 +01:00
2026-02-05 16:50:41 -08:00
2025-08-28 18:30:57 -07:00
2025-07-16 10:27:39 -07:00