| 624 | } |
| 625 | |
| 626 | bool Reader::readCppStyleComment() { |
| 627 | while (current_ != end_) { |
| 628 | Char c = getNextChar(); |
| 629 | if (c == '\n') |
| 630 | break; |
| 631 | if (c == '\r') { |
| 632 | // Consume DOS EOL. It will be normalized in addComment. |
| 633 | if (current_ != end_ && *current_ == '\n') |
| 634 | getNextChar(); |
| 635 | // Break on Moc OS 9 EOL. |
| 636 | break; |
| 637 | } |
| 638 | } |
| 639 | return true; |
| 640 | } |
| 641 | |
| 642 | void Reader::readNumber() { |
| 643 | const char *p = current_; |
nothing calls this directly
no outgoing calls
no test coverage detected