git-svn-id: svn://db.shs.com.ru/pip@659 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -306,7 +306,7 @@ void makeGetterHeader(PIFile & f, const PICodeParser::Entity * e) {
|
|||||||
|
|
||||||
void writeModel(PICodeParser & parser, PICLI & cli, const PIString out, bool meta, bool enums, bool streams, bool texts, bool getters) {
|
void writeModel(PICodeParser & parser, PICLI & cli, const PIString out, bool meta, bool enums, bool streams, bool texts, bool getters) {
|
||||||
PIVector<const PICodeParser::Entity * > ventities;
|
PIVector<const PICodeParser::Entity * > ventities;
|
||||||
PIString defname = out.replaceAll(".", "_").replaceAll("/", "_").replaceAll(":", "_").replaceAll("-", "_").toUpperCase() + "_H";
|
PIString defname = out.replaceAll(".", "_").replaceAll("/", "_").replaceAll(":", "_").replaceAll("-", "_").removeAll(" ").toUpperCase() + "_H";
|
||||||
bool inc_h, inc_cpp;
|
bool inc_h, inc_cpp;
|
||||||
inc_h = streams || texts;
|
inc_h = streams || texts;
|
||||||
inc_cpp = !inc_h && getters;
|
inc_cpp = !inc_h && getters;
|
||||||
|
|||||||
Reference in New Issue
Block a user