gravatar
deba@inf.elte.hu
deba@inf.elte.hu
Clarifying the usage of skipSection
0 1 0
default
1 file changed with 6 insertions and 10 deletions:
↑ Collapse diff ↑
Ignore white space 4 line context
... ...
@@ -1140,7 +1140,7 @@
1140 1140
      line_num = 0;      
1141 1141
      readLine();
1142
      skipSection();
1142 1143

	
1143 1144
      while (readSuccess()) {
1144
	skipSection();
1145 1145
	try {
1146 1146
	  char c;
... ...
@@ -1179,9 +1179,7 @@
1179 1179
	      extra_sections.insert(section);
1180 1180
	      it->second->process(*_is, line_num);
1181
	      readLine();
1182
	    } else {
1183
	      readLine();
1184
	      skipSection();
1185 1181
	    }
1182
	    readLine();
1183
	    skipSection();
1186 1184
	  }
1187 1185
	} catch (DataFormatError& error) {
... ...
@@ -1982,7 +1980,7 @@
1982 1980
      line_num = 0;      
1983 1981
      readLine();
1982
      skipSection();
1984 1983

	
1985 1984
      while (readSuccess()) {
1986
	skipSection();
1987 1985
	try {
1988 1986
	  char c;
... ...
@@ -2021,9 +2019,7 @@
2021 2019
	      extra_sections.insert(section);
2022 2020
	      it->second->process(*_is, line_num);
2023
	      readLine();
2024
	    } else {
2025
	      readLine();
2026
	      skipSection();
2027 2021
	    }
2022
	    readLine();
2023
	    skipSection();
2028 2024
	  }
2029 2025
	} catch (DataFormatError& error) {
0 comments (0 inline)