Browse Source

adapted code so that multiple nacs are allowed

tpinna 10 years ago
parent
commit
e73a0b67dd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      integration/code/pn_interface.alc

+ 1 - 1
integration/code/pn_interface.alc

@@ -384,7 +384,7 @@ Element function tf_executeRule(tf_er_transformation: Element,tf_er_rule: Elemen
 	nr_of_nac_matches = 0
 	Element tf_er_nac
 	tf_er_nac = create_node()
-	if(nr_of_lhs_matches > 0): //TODO unless there is no lhs, then we might have situations were we just want to prevent nodes from spawning
+	if(nr_of_lhs_matches > 0):
 		Element tf_er_nac_
 		tf_er_nac_ = allOutgoingAssociationInstances(tf_er_transformation, tf_er_rule, dict_read(dict_read(dict_read(tf_er_transformation, "metamodel"), "model"), "nac"))
 		Element partial_nac_matches