MCPcopy Create free account
hub / github.com/Illumina/paragraph / readCppStyleComment

Method readCppStyleComment

external/jsoncpp/jsoncpp.cpp:626–640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

624}
625
626bool 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
642void Reader::readNumber() {
643 const char *p = current_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected