| 204 | } |
| 205 | |
| 206 | static void append_value(cbm_sb_t *sb, const char *s) { |
| 207 | if (!s || !*s) { |
| 208 | cbm_sb_append_n(sb, "-", 1); /* stable column positions for empties */ |
| 209 | return; |
| 210 | } |
| 211 | if (needs_quotes(s)) { |
| 212 | append_quoted(sb, s); |
| 213 | } else { |
| 214 | cbm_sb_append(sb, s); |
| 215 | } |
| 216 | } |
| 217 | |
| 218 | /* ── Scalars ────────────────────────────────────────────────────── */ |
| 219 |
no test coverage detected