| 2217 | until this function is called. */ |
| 2218 | |
| 2219 | static void |
| 2220 | print_white_space (void) |
| 2221 | { |
| 2222 | int h_new; |
| 2223 | int h_old = output_position; |
| 2224 | int goal = h_old + spaces_not_printed; |
| 2225 | |
| 2226 | while (goal - h_old > 1 |
| 2227 | && (h_new = POS_AFTER_TAB (chars_per_output_tab, h_old)) <= goal) |
| 2228 | { |
| 2229 | putchar (output_tab_char); |
| 2230 | h_old = h_new; |
| 2231 | } |
| 2232 | while (++h_old <= goal) |
| 2233 | putchar (' '); |
| 2234 | |
| 2235 | output_position = goal; |
| 2236 | spaces_not_printed = 0; |
| 2237 | } |
| 2238 | |
| 2239 | /* Print column separators. |
| 2240 |
no outgoing calls
no test coverage detected