Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/ProtocolClassGen.xtend')
-rw-r--r--plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/ProtocolClassGen.xtend4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/ProtocolClassGen.xtend b/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/ProtocolClassGen.xtend
index f6fd647c4..1b6fde86b 100644
--- a/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/ProtocolClassGen.xtend
+++ b/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/ProtocolClassGen.xtend
@@ -45,7 +45,7 @@ class ProtocolClassGen extends GenericProtocolClassGenerator {
@Inject ILogger logger
def doGenerate(Root root) {
- for (pc: root.protocolClasses) {
+ root.protocolClasses.filter[!isDeprecatedGeneration].forEach[pc |
val path = pc.getPath
var file = pc.getCHeaderFileName
@@ -59,7 +59,7 @@ class ProtocolClassGen extends GenericProtocolClassGenerator {
// source file
file = pc.getCSourceFileName
fileIO.generateFile("generating ProtocolClass source", path + file, root.generateSourceFile(pc))
- }
+ ]
}

Back to the top