Permalink
Browse files

Bug fix

  • Loading branch information...
1 parent 23ad5ca commit 766fdcd988be2c74e292273f2bf6118ee8ff3e56 @codehero committed Jun 21, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/jsongrab.cpp
View
2 tests/jsongrab.cpp
@@ -141,6 +141,8 @@ int main(int argc, const char* argv[]){
throw PullParser::invalid_value("Expected key in data!", data_parser);
if(0 == data_parser.GetValue().key_enum)
break;
+ if(data_parser.Descended())
+ data_parser.Up();
}
}
else

0 comments on commit 766fdcd

Please sign in to comment.