# HG changeset patch # User laurent # Date 1274298712 -7200 # Node ID 0ba6d614573e5d84baadf80300fe837fb4ce8080 # Parent f78fa87bb4cbbd431ef3ddb8aee4f99e7335350d Bug with code generation of global located variables in resource fixed thanks to Mario diff -r f78fa87bb4cb -r 0ba6d614573e 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; }