| 696 | } |
| 697 | } |
| 698 | bool expect(const int expected) { |
| 699 | skip_ws(); |
| 700 | if (getc() != expected) { |
| 701 | ungetc(); |
| 702 | return false; |
| 703 | } |
| 704 | return true; |
| 705 | } |
| 706 | bool match(const std::string &pattern) { |
| 707 | for (std::string::const_iterator pi(pattern.begin()); pi != pattern.end(); ++pi) { |
| 708 | if (getc() != *pi) { |
no outgoing calls
no test coverage detected