Bugfix: an ugly artefact of the 'id' -> 'label' renaming
authorklao
Fri, 03 Mar 2006 21:49:39 +0000
changeset 1997b7a70cdb5520
parent 1996 5dc13b93f8b4
child 1998 2ba916d7aae3
Bugfix: an ugly artefact of the 'id' -> 'label' renaming
lemon/lemon_reader.h
     1.1 --- a/lemon/lemon_reader.h	Fri Mar 03 12:35:32 2006 +0000
     1.2 +++ b/lemon/lemon_reader.h	Fri Mar 03 21:49:39 2006 +0000
     1.3 @@ -862,7 +862,7 @@
     1.4        std::istringstream ls(line);
     1.5        std::string command;
     1.6        std::string id;
     1.7 -      ls >> command >> name;
     1.8 +      ls >> command >> id;
     1.9        return command == "@nodeset" && name == id;
    1.10      }
    1.11  
    1.12 @@ -1085,7 +1085,7 @@
    1.13        std::istringstream ls(line);
    1.14        std::string command;
    1.15        std::string id;
    1.16 -      ls >> command >> name;
    1.17 +      ls >> command >> id;
    1.18        return command == "@edgeset" && name == id;
    1.19      }
    1.20  
    1.21 @@ -1381,7 +1381,7 @@
    1.22        std::istringstream ls(line);
    1.23        std::string command;
    1.24        std::string id;
    1.25 -      ls >> command >> name;
    1.26 +      ls >> command >> id;
    1.27        return command == "@uedgeset" && name == id;
    1.28      }
    1.29  
    1.30 @@ -1548,7 +1548,7 @@
    1.31        std::istringstream ls(line);
    1.32        std::string command;
    1.33        std::string id;
    1.34 -      ls >> command >> name;
    1.35 +      ls >> command >> id;
    1.36        return command == "@nodes" && name == id;
    1.37      }
    1.38  
    1.39 @@ -1654,7 +1654,7 @@
    1.40        std::istringstream ls(line);
    1.41        std::string command;
    1.42        std::string id;
    1.43 -      ls >> command >> name;
    1.44 +      ls >> command >> id;
    1.45        return command == "@edges" && name == id;
    1.46      }
    1.47  
    1.48 @@ -1778,7 +1778,7 @@
    1.49        std::istringstream ls(line);
    1.50        std::string command;
    1.51        std::string id;
    1.52 -      ls >> command >> name;
    1.53 +      ls >> command >> id;
    1.54        return command == "@uedges" && name == id;
    1.55      }
    1.56  
    1.57 @@ -1922,7 +1922,7 @@
    1.58        std::istringstream ls(line);
    1.59        std::string command;
    1.60        std::string id;
    1.61 -      ls >> command >> name;
    1.62 +      ls >> command >> id;
    1.63        return command == "@attributes" && name == id;
    1.64      }
    1.65