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

@@ -139,6 +139,11 @@ void PICodeParser::parseFiles(const PIStringList & files, bool follow_includes)
}
void PICodeParser::parseFileContent(PIString fc) {
parseFileContent(fc, false);
}
bool PICodeParser::isEnum(const PIString & name) {
piForeachC(Enum & e, enums)
if (e.name == name) return true;

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); }