--- rpl/src/instructions_s9.c 2010/03/09 10:18:49 1.5 +++ rpl/src/instructions_s9.c 2010/03/31 11:56:43 1.6 @@ -186,9 +186,12 @@ instruction_sort(struct_processus *s_eta return; } - if ((*(*(*s_etat_processus).s_liste_variables_partagees) + if (((*(*(*s_etat_processus).s_liste_variables_partagees) .table[(*(*s_etat_processus).s_liste_variables_partagees) - .position_variable].objet).type != LST) + .position_variable].objet).type != LST) && + ((*(*(*s_etat_processus).s_liste_variables_partagees) + .table[(*(*s_etat_processus).s_liste_variables_partagees) + .position_variable].objet).type != TBL)) { if (pthread_mutex_unlock(&((*(*s_etat_processus) .s_liste_variables_partagees).mutex)) != 0) @@ -230,9 +233,12 @@ instruction_sort(struct_processus *s_eta } else { - if ((*(*s_etat_processus).s_liste_variables + if (((*(*s_etat_processus).s_liste_variables + [(*s_etat_processus).position_variable_courante].objet) + .type != LST) && + ((*(*s_etat_processus).s_liste_variables [(*s_etat_processus).position_variable_courante].objet) - .type != LST) + .type != TBL)) { (*s_etat_processus).erreur_execution = d_ex_erreur_type_argument;