Bug with code generation of global located variables in resource fixed thanks to Mario
authorlaurent
Wed, 19 May 2010 21:51:52 +0200
changeset 241 0ba6d614573e
parent 240 f78fa87bb4cb
child 242 0036357a990f
Bug with code generation of global located variables in resource fixed thanks to Mario
stage4/generate_c/generate_c.cc
--- a/stage4/generate_c/generate_c.cc	Thu Apr 22 07:03:18 2010 +0200
+++ b/stage4/generate_c/generate_c.cc	Wed May 19 21:51:52 2010 +0200
@@ -1338,7 +1338,8 @@
         s4o.print(s4o.indent_spaces);
         vardecl = new generate_c_vardecl_c(&s4o,
                                            generate_c_vardecl_c::constructorinit_vf,
-                                           generate_c_vardecl_c::global_vt);
+                                           generate_c_vardecl_c::global_vt,
+                                           current_resource_name);
         vardecl->print(current_global_vars);
         delete vardecl;
       }