فهرست منبع

Merge pull request #293 from Yakindu/issue-291

#291: Revert changes, which are not appropriate.
Alexander Nyßen 9 سال پیش
والد
کامیت
aa0c9db3e6
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      plugins/org.yakindu.sct.generator.c/src/org/yakindu/sct/generator/c/FlowCode.xtend

+ 2 - 2
plugins/org.yakindu.sct.generator.c/src/org/yakindu/sct/generator/c/FlowCode.xtend

@@ -121,10 +121,10 @@ class FlowCode {
 	'''	
 
 	def dispatch CharSequence code(Check it) 
-		'''«IF condition != null»(«condition.code») ? bool_true : bool_false«ELSE»bool_true«ENDIF»'''
+		'''«IF condition != null»«condition.code»«ELSE»bool_true«ENDIF»'''
 	
 	def dispatch CharSequence code(CheckRef it) 
-		'''«IF check != null»(«check.shortName»(«scHandle»)) ? bool_true : bool_false«ELSE»bool_true«ENDIF»'''
+		'''«IF check != null»«check.shortName»(«scHandle»)«ELSE»bool_true«ENDIF»'''
 
 	def dispatch CharSequence code(If it) '''
 		«stepComment»