git-svn-id: svn://db.shs.com.ru/pip@594 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2018-02-10 10:54:39 +00:00
parent 7c5cf7bac4
commit b2509167dd
2 changed files with 4 additions and 5 deletions

View File

@@ -530,7 +530,7 @@ bool PICodeParser::parseMember(Entity * parent, PIString & fc) {
tmp_temp[crepl] = "<" + ctemp + ">";
ts = fc.find("<", te);
}
fc.replaceAll("\n", " ").replaceAll("\t", " ").replaceAll(" ", " ").replaceAll(", ", ",").replaceAll(" $M", "$M");
fc.replaceAll("\n", " ").replaceAll("\t", " ").replaceAll(" ", " ").replaceAll(", ", ",").replaceAll(" (", "(").replaceAll(" $M", "$M");
//piCout << "parse member" << fc;
PIStringList tl, al;
Member me;
@@ -540,7 +540,7 @@ bool PICodeParser::parseMember(Entity * parent, PIString & fc) {
int ind = fc.find("$M");
if (ind >= 0) {
meta = tmp_meta.value(fc.takeMid(ind, 5));
fc.replaceAll(" ", " ");
fc.replaceAll(" ", " ").replaceAll(" (", "(");
}
fc.cutRight(fc.size_s() - fc.findLast(")") - 1);
te = fc.find("(");