Appends a character to the token buffer, always making sure there is room.
| 474 | |
| 475 | // Appends a character to the token buffer, always making sure there is room. |
| 476 | static void token_buf_push(int cc) |
| 477 | { |
| 478 | token_buf_room(); |
| 479 | // There is room: token_len < token_alloc |
| 480 | token_buf[token_len++] = cc; |
| 481 | } |
| 482 | |
| 483 | // Undoes the push action but only if there is some content. |
| 484 | static int token_buf_pop(void) |
no test coverage detected