| 243 | } |
| 244 | |
| 245 | void Scanner::StartStream() { |
| 246 | m_startedStream = true; |
| 247 | m_simpleKeyAllowed = true; |
| 248 | std::unique_ptr<IndentMarker> pIndent( |
| 249 | new IndentMarker(-1, IndentMarker::NONE)); |
| 250 | m_indentRefs.push_back(std::move(pIndent)); |
| 251 | m_indents.push(&m_indentRefs.back()); |
| 252 | } |
| 253 | |
| 254 | void Scanner::EndStream() { |
| 255 | // force newline |