Bläddra i källkod

fixed code generator problem with named interface scopes

Axel Terfloth 9 år sedan
förälder
incheckning
51520bedf5

+ 4 - 0
plugins/org.yakindu.sct.generator.c/src/org/yakindu/sct/generator/c/ExpressionCode.xtend

@@ -73,6 +73,10 @@ class ExpressionCode {
 
 	def dispatch CharSequence code(Expression it, VariableDefinition target) '''«target.access»'''
 
+	def dispatch CharSequence code(ElementReferenceExpression it, VariableDefinition target) '''«target.access»'''
+
+	def dispatch CharSequence code(FeatureCall it, VariableDefinition target) '''«target.access»'''
+
 	def dispatch CharSequence code(ElementReferenceExpression it, OperationDefinition target) '''«target.access»(«scHandle»«FOR arg : args BEFORE ', ' SEPARATOR ', '»«arg.
 		code»«ENDFOR»)'''