equal
deleted
inserted
replaced
182 /***********************************************************************/ |
182 /***********************************************************************/ |
183 /***********************************************************************/ |
183 /***********************************************************************/ |
184 /***********************************************************************/ |
184 /***********************************************************************/ |
185 /***********************************************************************/ |
185 /***********************************************************************/ |
186 |
186 |
187 class generate_var_list_c: protected generate_c_typedecl_c { |
187 class generate_var_list_c: protected generate_c_base_and_typeid_c { |
188 |
188 |
189 public: |
189 public: |
190 typedef struct { |
190 typedef struct { |
191 symbol_c *symbol; |
191 symbol_c *symbol; |
192 } SYMBOL; |
192 } SYMBOL; |
220 std::list<SYMBOL> current_symbol_list; |
220 std::list<SYMBOL> current_symbol_list; |
221 search_type_symbol_c *search_type_symbol; |
221 search_type_symbol_c *search_type_symbol; |
222 |
222 |
223 public: |
223 public: |
224 generate_var_list_c(stage4out_c *s4o_ptr, symbol_c *scope) |
224 generate_var_list_c(stage4out_c *s4o_ptr, symbol_c *scope) |
225 : generate_c_typedecl_c(s4o_ptr) { |
225 : generate_c_base_and_typeid_c(s4o_ptr) { |
226 search_type_symbol = new search_type_symbol_c(scope); |
226 search_type_symbol = new search_type_symbol_c(scope); |
227 current_var_number = 0; |
227 current_var_number = 0; |
228 current_var_type_symbol = NULL; |
228 current_var_type_symbol = NULL; |
229 current_var_type_name = NULL; |
229 current_var_type_name = NULL; |
230 current_declarationtype = none_dt; |
230 current_declarationtype = none_dt; |