Bug fix
authordeba
Tue, 30 Oct 2007 10:51:07 +0000
changeset 250446a82ce84cc6
parent 2503 15b3bf0141c7
child 2505 1bb471764ab8
Bug fix
lemon/lemon_reader.h
     1.1 --- a/lemon/lemon_reader.h	Thu Oct 25 16:57:43 2007 +0000
     1.2 +++ b/lemon/lemon_reader.h	Tue Oct 30 10:51:07 2007 +0000
     1.3 @@ -1343,6 +1343,8 @@
     1.4  	    } else if (ait != areaders.end()) {
     1.5  	      ait->second->touch();
     1.6  	      index.push_back(ait->second);
     1.7 +	    } else {
     1.8 +	      index.push_back(&skipper);
     1.9  	    }
    1.10  	    if (id == "label") {
    1.11  	      inverter.reset(index.back()->getInverter());
    1.12 @@ -1401,6 +1403,8 @@
    1.13  	    } else if (bit != breaders.end()) {
    1.14  	      bit->second->touch();
    1.15  	      index.push_back(bit->second);
    1.16 +	    } else {
    1.17 +	      index.push_back(&skipper);
    1.18  	    }
    1.19  	    if (id == "label" && inverter.get() != 0) {
    1.20  	      index.back() = inverter.get();