diff -r ba80c3ceb6fb -r 2c3c4dc34979 absyntax_utils/add_en_eno_param_decl.cc --- a/absyntax_utils/add_en_eno_param_decl.cc Mon Jul 11 09:47:27 2011 +0100 +++ b/absyntax_utils/add_en_eno_param_decl.cc Fri Jul 29 16:03:28 2011 +0100 @@ -150,8 +150,17 @@ en_declared = false; eno_declared = false; iterate_list(symbol); + /* insert elements to begining of list! */ + /* We want EN first, and then ENO. + * 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! + */ + if(eno_declared == false) symbol->insert_element(build_eno_param()); + if(en_declared == false) symbol->insert_element(build_en_param()); + /* append elements to end of list! */ + /* if(en_declared == false) symbol->add_element(build_en_param()); if(eno_declared == false) symbol->add_element(build_eno_param()); + */ return NULL; }