mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 20:51:16 +00:00
Added some parser exceptions.
This commit is contained in:
12
iterator.cpp
12
iterator.cpp
@@ -29,6 +29,18 @@ namespace YAML
|
||||
return *this;
|
||||
}
|
||||
|
||||
Node::Iterator Node::Iterator::operator ++ (int)
|
||||
{
|
||||
Iterator temp = *this;
|
||||
|
||||
if(type == IT_SEQ)
|
||||
++seqIter;
|
||||
else if(type == IT_MAP)
|
||||
++mapIter;
|
||||
|
||||
return temp;
|
||||
}
|
||||
|
||||
const Node& Node::Iterator::operator * ()
|
||||
{
|
||||
if(type == IT_SEQ)
|
||||
|
Reference in New Issue
Block a user