PICodeParser::parseFileContent
This commit is contained in:
@@ -135,7 +135,12 @@ void PICodeParser::parseFiles(const PIStringList & files, bool follow_includes)
|
|||||||
piCout << PIStringAscii("enum") << c.name << c.members;
|
piCout << PIStringAscii("enum") << c.name << c.members;
|
||||||
piCout << "\n\nTypedefs:";
|
piCout << "\n\nTypedefs:";
|
||||||
piForeachC (Typedef & c, typedefs)
|
piForeachC (Typedef & c, typedefs)
|
||||||
piCout << PIStringAscii("typedef") << c;*/
|
piCout << PIStringAscii("typedef") << c;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void PICodeParser::parseFileContent(PIString fc) {
|
||||||
|
parseFileContent(fc, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -139,6 +139,7 @@ public:
|
|||||||
|
|
||||||
void parseFile(const PIString & file, bool follow_includes = true);
|
void parseFile(const PIString & file, bool follow_includes = true);
|
||||||
void parseFiles(const PIStringList & files, 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 includeDirectory(const PIString & dir) { includes << dir; }
|
||||||
void addDefine(const PIString & def_name, const PIString & def_value) { custom_defines << Define(def_name, def_value); }
|
void addDefine(const PIString & def_name, const PIString & def_value) { custom_defines << Define(def_name, def_value); }
|
||||||
|
|||||||
Reference in New Issue
Block a user