Code cleanup: with the introduction of anotation_map[], generate_c_vardecl_c can now derive directly from generate_c_base_c
--- a/stage4/generate_c/generate_c_vardecl.cc Mon Aug 11 07:56:00 2014 +0100
+++ b/stage4/generate_c/generate_c_vardecl.cc Mon Aug 11 08:07:12 2014 +0100
@@ -689,7 +689,7 @@
-class generate_c_vardecl_c: protected generate_c_typedecl_c {
+class generate_c_vardecl_c: protected generate_c_base_c {
/* A Helper class to the main class... */
/* print a string, except the first time it is called */
@@ -1097,7 +1097,7 @@
public:
generate_c_vardecl_c(stage4out_c *s4o_ptr, varformat_t varformat, unsigned int vartype, symbol_c* res_name = NULL)
- : generate_c_typedecl_c(s4o_ptr) {
+ : generate_c_base_c(s4o_ptr) {
wanted_varformat = varformat;
wanted_vartype = vartype;
current_vartype = none_vt;