equal
deleted
inserted
replaced
105 this->current_vartype = none_vt; |
105 this->current_vartype = none_vt; |
106 this->current_option = none_opt; |
106 this->current_option = none_opt; |
107 this->search_name = get_var_name_c::get_name(variable); |
107 this->search_name = get_var_name_c::get_name(variable); |
108 if (NULL == search_scope) return NULL; // NOTE: This is not an ERROR! declaration_check_c, for e.g., relies on this returning NULL! |
108 if (NULL == search_scope) return NULL; // NOTE: This is not an ERROR! declaration_check_c, for e.g., relies on this returning NULL! |
109 return (symbol_c *)search_scope->accept(*this); |
109 return (symbol_c *)search_scope->accept(*this); |
|
110 } |
|
111 |
|
112 symbol_c *search_var_instance_decl_c::get_basetype_decl(symbol_c *variable) { |
|
113 return search_base_type_c::get_basetype_decl(get_decl(variable)); |
110 } |
114 } |
111 |
115 |
112 search_var_instance_decl_c::vt_t search_var_instance_decl_c::get_vartype(symbol_c *variable) { |
116 search_var_instance_decl_c::vt_t search_var_instance_decl_c::get_vartype(symbol_c *variable) { |
113 this->current_vartype = none_vt; |
117 this->current_vartype = none_vt; |
114 this->current_option = none_opt; |
118 this->current_option = none_opt; |