diff -r 19651a04d056 -r d4bdbc35c927 lemon/lemon_reader.h --- a/lemon/lemon_reader.h Tue Aug 21 13:22:21 2007 +0000 +++ b/lemon/lemon_reader.h Fri Aug 24 14:32:55 2007 +0000 @@ -1124,12 +1124,14 @@ /// /// It gives back true when the header line starts with \c \@edgeset, /// and the header line's name and the edgeset's name are the same. + /// The sections with @uedgeset head line could be read with this + /// section reader too. virtual bool header(const std::string& line) { std::istringstream ls(line); std::string command; std::string id; ls >> command >> id; - return command == "@edgeset" && name == id; + return (command == "@edgeset" || command == "@uedgeset") && name == id; } /// \brief Reader function of the section. @@ -1431,12 +1433,14 @@ /// /// It gives back true when the header line starts with \c \@uedgeset, /// and the header line's name and the edgeset's name are the same. + /// The sections with @edgeset head line could be read with this + /// section reader too. virtual bool header(const std::string& line) { std::istringstream ls(line); std::string command; std::string id; ls >> command >> id; - return command == "@uedgeset" && name == id; + return (command == "@edgeset" || command == "@uedgeset") && name == id; } /// \brief Reader function of the section.