Bug with code generation of global located variables in resource fixed thanks to Mario
--- 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;
}