Bug into generate_cc_sfc fixed
authorlbessard
Mon, 27 Aug 2007 17:38:26 +0200
changeset 53 7f0cea717342
parent 52 f44458d1fa29
child 54 66925599259a
Bug into generate_cc_sfc fixed
stage4/generate_cc/generate_cc_sfc.cc
--- a/stage4/generate_cc/generate_cc_sfc.cc	Mon Aug 27 14:52:15 2007 +0200
+++ b/stage4/generate_cc/generate_cc_sfc.cc	Mon Aug 27 17:38:26 2007 +0200
@@ -641,11 +641,13 @@
       
       /* generate transition reset steps */
       s4o.print(s4o.indent_spaces + "// Transitions reset steps\n");
+      generate_cc_sfc_elements->reset_transition_number();
       generate_cc_sfc_elements->generate((symbol_c *) symbol, generate_cc_sfc_elements_c::stepreset_sg);
       s4o.print("\n");
       
       /* generate transition set steps */
       s4o.print(s4o.indent_spaces + "// Transitions set steps\n");
+      generate_cc_sfc_elements->reset_transition_number();
       generate_cc_sfc_elements->generate((symbol_c *) symbol, generate_cc_sfc_elements_c::stepset_sg);
       s4o.print("\n");