commit request

git-svn-id: svn://db.shs.com.ru/pip@537 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
2017-08-30 09:52:50 +00:00
parent 5a6ae6855e
commit 9c68588447
5 changed files with 36 additions and 36 deletions

View File

@@ -31,7 +31,7 @@ PIString PICodeParser::Macro::expand(PIString args_, bool * ok) const {
}
PIString ca;
if (bi >= 0 && bi < ci) {
ca = args_.left(args_.takeLeft(bi));
ca = args_.left(args_.takeLeft(bi).toInt());
ci -= ca.size_s(); bi -= ca.size_s();
ca += "(" + args_.takeRange("(", ")") + ")";
} else {
@@ -311,7 +311,7 @@ bool PICodeParser::parseFileContent(PIString & fc, bool main) {
str = pfc.takeLeft(sci + 1);
} else {
str = pfc.takeLeft(obi);
pfc.cutLeft(pfc.takeRange("{", "}"));
pfc.cutLeft(pfc.takeRange("{", "}").toInt());
}
parseMember(&root_, str);
}