equal
deleted
inserted
replaced
148 void *add_en_eno_param_decl_c::visit(var_declarations_list_c *symbol) { |
148 void *add_en_eno_param_decl_c::visit(var_declarations_list_c *symbol) { |
149 TRACE("var_declarations_list_c"); |
149 TRACE("var_declarations_list_c"); |
150 en_declared = false; |
150 en_declared = false; |
151 eno_declared = false; |
151 eno_declared = false; |
152 iterate_list(symbol); |
152 iterate_list(symbol); |
|
153 /* insert elements to begining of list! */ |
|
154 /* We want EN first, and then ENO. |
|
155 * But, since we are insertin them into the head of the list, we must insert EN last so it will stay in the first position! |
|
156 */ |
|
157 if(eno_declared == false) symbol->insert_element(build_eno_param()); |
|
158 if(en_declared == false) symbol->insert_element(build_en_param()); |
|
159 /* append elements to end of list! */ |
|
160 /* |
153 if(en_declared == false) symbol->add_element(build_en_param()); |
161 if(en_declared == false) symbol->add_element(build_en_param()); |
154 if(eno_declared == false) symbol->add_element(build_eno_param()); |
162 if(eno_declared == false) symbol->add_element(build_eno_param()); |
|
163 */ |
155 return NULL; |
164 return NULL; |
156 } |
165 } |
157 |
166 |
158 |
167 |
159 |
168 |