stage4/generate_c/generate_c_sfcdecl.cc
changeset 628 fe0d516fe291
parent 594 c8092e909886
child 630 5250fbf20999
equal deleted inserted replaced
627:e7caa7d32ef5 628:fe0d516fe291
   154           s4o.print(";\n");
   154           s4o.print(";\n");
   155           action_number = 0;
   155           action_number = 0;
   156           wanted_sfcdeclaration = sfcinit_sd;
   156           wanted_sfcdeclaration = sfcinit_sd;
   157           
   157           
   158           /* actions table initialisation */
   158           /* actions table initialisation */
   159           s4o.print(s4o.indent_spaces + "static const ACTION temp_action = {0, 0, 0, 0, {0, 0}, {0, 0}};\n");
   159           s4o.print(s4o.indent_spaces + "static const ACTION temp_action = {0, {0, 0}, 0, 0, {0, 0}, {0, 0}};\n");
   160           s4o.print(s4o.indent_spaces + "for(i = 0; i < ");
   160           s4o.print(s4o.indent_spaces + "for(i = 0; i < ");
   161           print_variable_prefix();
   161           print_variable_prefix();
   162           s4o.print("__nb_actions; i++) {\n");
   162           s4o.print("__nb_actions; i++) {\n");
   163           s4o.indent_right();
   163           s4o.indent_right();
   164           s4o.print(s4o.indent_spaces);
   164           s4o.print(s4o.indent_spaces);