PIString hard optimization
This commit is contained in:
@@ -331,13 +331,13 @@ void makeGetterValue(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) {
|
||||
PIVector<const PICodeParser::Entity * > ventities;
|
||||
PIString defname = out
|
||||
.replaceAll(".", "_")
|
||||
.replaceAll("/", "_")
|
||||
.replaceAll(":", "_")
|
||||
.replaceAll("-", "_")
|
||||
.replaceAll("@", "_")
|
||||
.replaceAll("\\", "_")
|
||||
.removeAll(" ")
|
||||
.replacedAll('.', '_')
|
||||
.replaceAll('/', '_')
|
||||
.replaceAll(':', '_')
|
||||
.replaceAll('-', '_')
|
||||
.replaceAll('@', '_')
|
||||
.replaceAll('\\', '_')
|
||||
.removeAll(' ')
|
||||
.toUpperCase()
|
||||
+ "_H";
|
||||
bool inc_h, inc_cpp;
|
||||
|
||||
Reference in New Issue
Block a user