PICodeParser::parseFileContent

This commit is contained in:
2024-01-25 23:58:50 +03:00
parent 3652705784
commit 7297b9aee0
2 changed files with 7 additions and 1 deletions

View File

@@ -135,7 +135,12 @@ void PICodeParser::parseFiles(const PIStringList & files, bool follow_includes)
piCout << PIStringAscii("enum") << c.name << c.members;
piCout << "\n\nTypedefs:";
piForeachC (Typedef & c, typedefs)
piCout << PIStringAscii("typedef") << c;*/
piCout << PIStringAscii("typedef") << c;*/
}
void PICodeParser::parseFileContent(PIString fc) {
parseFileContent(fc, false);
}

View File

@@ -139,6 +139,7 @@ public:
void parseFile(const PIString & file, bool follow_includes = true);
void parseFiles(const PIStringList & files, bool follow_includes = true);
void parseFileContent(PIString fc);
void includeDirectory(const PIString & dir) { includes << dir; }
void addDefine(const PIString & def_name, const PIString & def_value) { custom_defines << Define(def_name, def_value); }