PICodeParser now recognize non-direct PIMETA

This commit is contained in:
2021-05-02 14:02:18 +03:00
parent 438b4a6bce
commit 8526ad1c30
2 changed files with 3 additions and 3 deletions

View File

@@ -234,8 +234,6 @@ bool PICodeParser::parseFileContent(PIString & fc, bool main) {
if (fc.mid(i, 2) == "//" && !mlc) {ole = fc.find('\n', i); fc.cutMid(i, ole < 0 ? -1 : ole - i); --i; continue;}
}
pfc = procMacros(fc);
replaceMeta(pfc);
if (main) return true;
@@ -279,6 +277,8 @@ bool PICodeParser::parseFileContent(PIString & fc, bool main) {
}
}
}
replaceMeta(pfc);
//piCout << NewLine << "file" << cur_file << pfc;
int pl = -1;