--- rpl/src/instructions_e2.c 2013/02/28 12:41:27 1.46 +++ rpl/src/instructions_e2.c 2013/02/28 13:10:29 1.47 @@ -1338,7 +1338,7 @@ instruction_exit(struct_processus *s_eta { if ((strcmp(instruction_majuscule, "FOR") == 0) || (strcmp(instruction_majuscule, "FORALL") == 0) - || (strcmp(instruction_majuscule, "START") + || (strcmp(instruction_majuscule, "START") == 0)) { niveau++; @@ -1829,8 +1829,9 @@ instruction_exit(struct_processus *s_eta if ((drapeau_boucle_definie == d_vrai) && (drapeau_presence_fin_boucle == d_vrai)) { - presence_compteur = ((*(*s_etat_processus).l_base_pile_systeme) - .type_cloture == 'F') ? d_vrai : d_faux; + presence_compteur = (((*(*s_etat_processus).l_base_pile_systeme) + .type_cloture == 'F') || ((*(*s_etat_processus) + .l_base_pile_systeme).type_cloture == 'A')) ? d_vrai : d_faux; if (((*(*s_etat_processus).l_base_pile_systeme).type_cloture != 'S') && (presence_compteur == d_faux))