The putback() member function puts its argument back into the Token_stream's buffer:
| 98 | |
| 99 | // The putback() member function puts its argument back into the Token_stream's buffer: |
| 100 | void Token_stream::putback(Token t) |
| 101 | { |
| 102 | if (full) error("putback() into a full buffer"); |
| 103 | buffer = t; // copy t to buffer |
| 104 | full = true; // buffer is now full |
| 105 | } |
| 106 | |
| 107 | //------------------------------------------------------------------------------ |
| 108 |
no test coverage detected