git-svn-id: svn://db.shs.com.ru/pip@594 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -97,7 +97,6 @@ inline PICout operator <<(PICout s, const PICodeInfo::TypeInfo & v) {
|
||||
s << v.type;
|
||||
if (!v.name.isEmpty())
|
||||
s << " " << v.name;
|
||||
s << " Meta" << v.meta;
|
||||
return s;
|
||||
}
|
||||
|
||||
@@ -124,12 +123,12 @@ inline PICout operator <<(PICout s, const PICodeInfo::ClassInfo & v) {
|
||||
else s << ", ";
|
||||
s << a;
|
||||
}
|
||||
s << ");\n";
|
||||
s << ") Meta" << i.meta << ";\n";
|
||||
}
|
||||
if (!v.functions.isEmpty() && !v.variables.isEmpty())
|
||||
s << "\n";
|
||||
piForeachC (TypeInfo & i, v.variables) {
|
||||
s << PICoutManipulators::Tab << i << ";\n";
|
||||
s << PICoutManipulators::Tab << i << " Meta" << i.meta << ";\n";
|
||||
}
|
||||
s << "}\n";
|
||||
s.restoreControl();
|
||||
|
||||
@@ -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("(");
|
||||
|
||||
Reference in New Issue
Block a user