PIFile::skip() method and PIFile::isEnd() fix for read-only

This commit is contained in:
2021-05-14 00:36:12 +03:00
parent 05b18c3ab7
commit 1ec9481c19
4 changed files with 34 additions and 13 deletions

View File

@@ -358,10 +358,6 @@ void writeModel(PICodeParser & parser, PICLI & cli, const PIString out, bool met
.removeAll(' ')
.toUpperCase()
+ "_H";
bool inc_h, inc_cpp;
inc_h = streams || texts;
inc_cpp = !inc_h && getters;
PISet<PIString> inc_files;
piForeachC (PICodeParser::Entity * e, parser.entities)
if (e->name.find("::") < 0 && !e->name.startsWith("_PI"))