--- /home/count0/Desktop/graphml.hpp 2007-04-12 09:12:03.000000000 -0300 +++ graphml.hpp 2007-04-12 09:20:40.000000000 -0300 @@ -33,10 +33,11 @@ ///////////////////////////////////////////////////////////////////////////// struct parse_error: public graph_exception { - parse_error(const std::string& error) {statement = "parse error: " + error;} + parse_error(const std::string& err) {error = err; statement = "parse error: " + error;} virtual ~parse_error() throw() {} virtual const char* what() const throw() {return statement.c_str();} std::string statement; + std::string error; };