Merge branch 'pip2'

This commit is contained in:
Бычков Андрей
2022-07-22 11:18:03 +03:00
2 changed files with 6 additions and 1 deletions

View File

@@ -423,7 +423,7 @@ void writeModel(PICodeParser & parser, PICLI & cli, const PIString out, const PI
PIString defname = "CCM_" + PIString::fromNumber(out.hash()) + "_H";
PISet<PIString> inc_files;
piForeachC (PICodeParser::Entity * e, parser.entities)
if (e->name.find("::") < 0 && !e->name.startsWith("_PI"))
if (!e->name.startsWith("_PI"))
inc_files << e->file;
PIVector<PIString> incf = inc_files.toVector();
for (auto & f: files) incf << f;