# HG changeset patch # User mjsousa # Date 1407740832 -3600 # Node ID c0c245197b5a5a32ef5e21beeb48c5578c843df4 # Parent 96f3928ebd96982d6308ba12863c151f72147380 Code cleanup: with the introduction of anotation_map[], generate_c_vardecl_c can now derive directly from generate_c_base_c diff -r 96f3928ebd96 -r c0c245197b5a stage4/generate_c/generate_c_vardecl.cc --- 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;