git-svn-id: svn://db.shs.com.ru/libs@111 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2016-08-01 12:18:56 +00:00
parent bf7c678313
commit b5923b7ba3
5 changed files with 9 additions and 9 deletions

View File

@@ -69,7 +69,7 @@ PIVector<int> enumValues(const PIString & e, const PIMap<PIString, KSection> & s
if (v < 2) return ret;
for (int i = 0; i < v; ++i) {
ret << i;
enames << PIString::fromNumber(i);
enames << "";//PIString::fromNumber(i);
}
}
return ret;
@@ -142,13 +142,14 @@ KSection KParser::parse(PIIODevice * d) {
//piCout << a << evals;
for (int i = 0; i < evals.size_s(); ++i) {
ts.section(evals[i]) = is;
ts.section(evals[i]).index_name = enames[i];
ts.section(evals[i]).alias = enames[i];
}
ts.name = is.name;
ts.name.insert(ibpos, PIString("[") << a << "]");
is = ts;
ts = KSection();
}
is.alias = alias;
cs.section(aval) = is;
}
}