majintao0131 / yaml-cpp

Automatically exported from code.google.com/p/yaml-cpp
MIT License
0 stars 0 forks source link

Exception no longer has public member line or column #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile "When something goes wrong" code on parse example page

What is the expected output? What do you see instead?
'class YAML::ParserException' has no member named 'line' (or 'column')

What version of the product are you using? On what operating system?
rev 214

Please provide any additional information below.
Not sure if it's an intentional change, but I thought I'd report it just in
case it isn't

Original issue reported on code.google.com by homechic...@gmail.com on 30 Jul 2009 at 6:00

GoogleCodeExporter commented 9 years ago
Whoops! That's an intentional change, but I forgot to edit the wiki. It's 
switched to a 
Mark struct that has line, column, and position data. And `what()` is 
overloaded to 
give a coherent error message.

Original comment by jbe...@gmail.com on 30 Jul 2009 at 6:18