Skip to content

Commit

Permalink
Reactivate one error check
Browse files Browse the repository at this point in the history
  • Loading branch information
dziegel committed Aug 22, 2024
1 parent d4fee2e commit 313bc4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions generator/src/generator/Transformations.egl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 313bc4a

Please sign in to comment.