| 4256 | } |
| 4257 | |
| 4258 | static void |
| 4259 | xo_format_prep (xo_handle_t *xop, xo_xff_flags_t flags) |
| 4260 | { |
| 4261 | if (xop->xo_stack[xop->xo_depth].xs_flags & XSF_NOT_FIRST) { |
| 4262 | xo_data_append(xop, ",", 1); |
| 4263 | if (!(flags & XFF_LEAF_LIST) && XOF_ISSET(xop, XOF_PRETTY)) |
| 4264 | xo_data_append(xop, "\n", 1); |
| 4265 | } else |
| 4266 | xop->xo_stack[xop->xo_depth].xs_flags |= XSF_NOT_FIRST; |
| 4267 | } |
| 4268 | |
| 4269 | #if 0 |
| 4270 | /* Useful debugging function */ |
no test coverage detected