COIN-OR::LEMON - Graph Library

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lgf_reader.h

    r174 r173  
    11401140      line_num = 0;     
    11411141      readLine();
    1142       skipSection();
    11431142
    11441143      while (readSuccess()) {
     1144        skipSection();
    11451145        try {
    11461146          char c;
     
    11791179              extra_sections.insert(section);
    11801180              it->second->process(*_is, line_num);
     1181              readLine();
     1182            } else {
     1183              readLine();
     1184              skipSection();
    11811185            }
    1182             readLine();
    1183             skipSection();
    11841186          }
    11851187        } catch (DataFormatError& error) {
     
    19801982      line_num = 0;     
    19811983      readLine();
    1982       skipSection();
    19831984
    19841985      while (readSuccess()) {
     1986        skipSection();
    19851987        try {
    19861988          char c;
     
    20192021              extra_sections.insert(section);
    20202022              it->second->process(*_is, line_num);
     2023              readLine();
     2024            } else {
     2025              readLine();
     2026              skipSection();
    20212027            }
    2022             readLine();
    2023             skipSection();
    20242028          }
    20252029        } catch (DataFormatError& error) {
Note: See TracChangeset for help on using the changeset viewer.