From 313bc4ab9e7e6fec58c7549e6260e1a74a790f43 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Thu, 22 Aug 2024 08:34:46 +0200 Subject: [PATCH] Reactivate one error check --- generator/src/generator/Transformations.egl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/generator/src/generator/Transformations.egl b/generator/src/generator/Transformations.egl index 6f83f4d..2a433b9 100644 --- a/generator/src/generator/Transformations.egl +++ b/generator/src/generator/Transformations.egl @@ -66,9 +66,9 @@ operation Tuple regionTransform(statemachine : Tuple, parent_state : Tuple) { operation Tuple stateTransform(statemachine : Tuple, region : Tuple, parent_state : Tuple) { self.transitions_for_trigger_transformed = new Map(); -// if ((self.region == null) and self.transitions.isEmpty()) { -// (statemachine.name + ": No outgoing transitions for state " + self.name).println(); -// } + if ((self.region == null) and self.transitions_for_trigger.isEmpty()) { + (statemachine.name + ": No outgoing transitions from state " + self.name).println(); + } // State type self.state_type = statemachine.state_type;