Fixed bug where the parser doesn't find the end of a map or seq flow

This commit is contained in:
Jesse Beder
2012-06-09 14:39:00 -05:00
parent 2d815c5d6a
commit 68dd9b5d18
5 changed files with 47 additions and 13 deletions

View File

@@ -51,6 +51,13 @@ namespace YAML
return m_tokens.front();
}
// mark
// . Returns the current mark in the stream
Mark Scanner::mark() const
{
return INPUT.mark();
}
// EnsureTokensInQueue
// . Scan until there's a valid token at the front of the queue,
// or we're sure the queue is empty.