Commit 297391ee authored by Malte Heithoff's avatar Malte Heithoff
Browse files

Fix port name in Test

parent f5c1ba52
Pipeline #393544 passed with stage
in 12 minutes and 35 seconds
......@@ -318,6 +318,7 @@ public class GeneratorCPP implements EMAMGenerator {
public List<File> generateFiles(TaggingResolver taggingResolver, EMAComponentInstanceSymbol componentSymbol)
throws IOException {
this.rootModel = componentSymbol;
resetStatics();
List<FileContent> fileContents = new ArrayList<>();
if (componentSymbol == null) {
......@@ -361,6 +362,11 @@ public class GeneratorCPP implements EMAMGenerator {
return files;
}
private void resetStatics() {
ExecutionStepperHelper.setUnused();
ConversionHelper.unsetUsedCV();
}
public void addSemantics(TaggingResolver taggingResolver, EMAComponentInstanceSymbol component) {
if (component.getOrderOutput().isEmpty()) {
ExecutionSemantics semantics = new ExecutionSemantics(taggingResolver, component);
......
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