Closed GoogleCodeExporter closed 9 years ago
Thanks!
This is fixed in r8a5f69a395e7 in the default repo and rea0ce05f11c5 in the
old-api repo.
It should now throw an exception for missing the "}" to close the map (but I
think this example may not do exactly what you expect - without a space between
the "---" and the "{header...", it will view "---{header" as a single scalar!)
As for iss.tellg(), that should work. You can also look at the "mark" variable
in the exception, which tries to get as close as possible to the actual problem.
Original comment by jbe...@gmail.com
on 9 Jun 2012 at 7:49
Thank you for the ultra-fast reply and fix. Yes I forgot a space, that was a
newline in the real code.
Original comment by mace...@gmail.com
on 9 Jun 2012 at 9:02
By the way, the automatic link for the commit in the old-api repo doesn't work.
Let's see if this does:
rea0ce05f11c5?repo=old-api
Original comment by jbe...@gmail.com
on 9 Jun 2012 at 9:18
Dang, OK, how about this:
http://code.google.com/p/yaml-cpp/source/detail?r=ea0ce05f11c5dfa9cc2a9da1aeb3b3
d0a7f8cdd3&repo=old-api
Original comment by jbe...@gmail.com
on 9 Jun 2012 at 9:19
Thanks for the link.
I got curious about the new api and I am trying it right now. However, I can't
seem to parse multiple documents. I posted the issue on the tutorial page.
Original comment by mace...@gmail.com
on 10 Jun 2012 at 9:17
Original issue reported on code.google.com by
mace...@gmail.com
on 9 Jun 2012 at 7:07