# HG changeset patch # User laurent # Date 1328642419 -3600 # Node ID ffa2afab2806721db71140f77080ba87df8df4b1 # Parent 7f052bd3508a5055722ac34b3c309fbdb1eb0d96# Parent 093b72cd2ac3021e279714475a754cdbbe70f07c Merge with Edouard's modifications diff -r 093b72cd2ac3 -r ffa2afab2806 stage4/generate_c/generate_c_sfcdecl.cc --- a/stage4/generate_c/generate_c_sfcdecl.cc Fri Feb 03 18:01:13 2012 +0100 +++ b/stage4/generate_c/generate_c_sfcdecl.cc Tue Feb 07 20:20:19 2012 +0100 @@ -130,7 +130,7 @@ wanted_sfcdeclaration = sfcinit_sd; /* steps table initialisation */ - s4o.print(s4o.indent_spaces + "static const STEP temp_step = {{0, 0}, 0, 0};\n"); + s4o.print(s4o.indent_spaces + "static const STEP temp_step = {{0, 0}, 0, {0, 0}};\n"); s4o.print(s4o.indent_spaces + "for(i = 0; i < "); print_variable_prefix(); s4o.print("__nb_steps; i++) {\n"); @@ -156,7 +156,7 @@ wanted_sfcdeclaration = sfcinit_sd; /* actions table initialisation */ - s4o.print(s4o.indent_spaces + "static const ACTION temp_action = {0, 0, 0, 0, 0, 0};\n"); + s4o.print(s4o.indent_spaces + "static const ACTION temp_action = {0, 0, 0, 0, {0, 0}, {0, 0}};\n"); s4o.print(s4o.indent_spaces + "for(i = 0; i < "); print_variable_prefix(); s4o.print("__nb_actions; i++) {\n");