Commit e4cf4804 authored by Sascha Niklas Schneiders's avatar Sascha Niklas Schneiders
Browse files

fixed execution file overwrite name bug

parent 0d5b35e1
Pipeline #69145 passed with stage
in 12 minutes and 45 seconds
......@@ -178,7 +178,7 @@ public class LanguageUnitCPP extends LanguageUnit {
resultString += "{\n";
if (generatorCPP.isExecutionLoggingActive && method.getName().equals("execute")) {
resultString += "std::ofstream __LogExecutionFile;\n";
resultString += "__LogExecutionFile.open(\"execution\"+std::to_string(__EXECCOUNTER)+\".res\");\n";
resultString += "__LogExecutionFile.open(\"execution\" + std::to_string(__EXECCOUNTER) + \""+bluePrint.getOriginalSymbol().getPackageName()+"."+bluePrint.getOriginalSymbol().getName() +".res\");\n";
}
for (Instruction instruction : method.getInstructions()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment