mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-10 04:51:17 +00:00
Small changes in the iterator code.
Changed the public interface of Scanner to resemble an STL container.
This commit is contained in:
@@ -17,9 +17,9 @@ namespace YAML
|
||||
|
||||
void Scalar::Parse(Scanner *pScanner, const ParserState& state)
|
||||
{
|
||||
Token& token = pScanner->PeekToken();
|
||||
Token& token = pScanner->peek();
|
||||
m_data = token.value;
|
||||
pScanner->PopToken();
|
||||
pScanner->pop();
|
||||
}
|
||||
|
||||
void Scalar::Write(std::ostream& out, int indent, bool startedLine, bool onlyOneCharOnLine)
|
||||
|
Reference in New Issue
Block a user