| 410 | } |
| 411 | |
| 412 | void RegistryEntry::ParseStringValue(const char *&it, size_t &lineNumber) |
| 413 | { |
| 414 | // Skip opening quote |
| 415 | for (++it; '\0' != *it; ++it) { |
| 416 | if ('"' == *it) { |
| 417 | return; |
| 418 | } |
| 419 | // String values are stored unescaped |
| 420 | Unescape(it, lineNumber); |
| 421 | buffer.push_back(*it); |
| 422 | } |
| 423 | PARSING_EXCEPTION("missing closing quotation mark for value"); |
| 424 | } |
| 425 | |
| 426 | static size_t WriteEscaped(std::ostream &os, const uint8_t *it, |
| 427 | const bool addOpeningQuote = true) |
no test coverage detected