stage4/generate_iec/generate_iec.cc
changeset 3 38850ee685e6
parent 1 5d893a68be6e
child 7 0df673a4a561
--- a/stage4/generate_iec/generate_iec.cc	Wed Jan 31 16:04:06 2007 +0100
+++ b/stage4/generate_iec/generate_iec.cc	Wed Jan 31 19:23:46 2007 +0100
@@ -1135,7 +1135,12 @@
   symbol->to_steps->accept(*this);
   s4o.indent_right();
   s4o.print(s4o.indent_spaces);
-  symbol->transition_condition->accept(*this);
+  if (symbol->transition_condition_il != NULL) {
+  	symbol->transition_condition_il->accept(*this);
+  }
+  if (symbol->transition_condition_st != NULL) {
+  	symbol->transition_condition_st->accept(*this);
+  }
   s4o.indent_left();
   s4o.print(s4o.indent_spaces);
   s4o.print("END_TRANSITION");