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

@@ -3,7 +3,7 @@ cmake_policy(SET CMP0017 NEW) # need include() with .cmake
project(pip)
set(pip_MAJOR 2)
set(pip_MINOR 23)
set(pip_REVISION 1)
set(pip_REVISION 2)
set(pip_SUFFIX )
set(pip_COMPANY SHS)
set(pip_DOMAIN org.SHS)

View File

@@ -235,8 +235,6 @@ bool PICodeParser::parseFileContent(PIString & fc, bool main) {
}
pfc = procMacros(fc);
replaceMeta(pfc);
if (main) return true;
bool replaced = true;
@@ -280,6 +278,8 @@ bool PICodeParser::parseFileContent(PIString & fc, bool main) {
}
}
replaceMeta(pfc);
//piCout << NewLine << "file" << cur_file << pfc;
int pl = -1;
while (!pfc.isEmpty()) {