--- rpl/src/instructions_d4.c 2011/06/09 14:48:36 1.21 +++ rpl/src/instructions_d4.c 2012/01/17 14:44:06 1.36 @@ -1,7 +1,7 @@ /* ================================================================================ - RPL/2 (R) version 4.1.0.prerelease.0 - Copyright (C) 1989-2011 Dr. BERTRAND Joël + RPL/2 (R) version 4.1.6 + Copyright (C) 1989-2012 Dr. BERTRAND Joël This file is part of RPL/2. @@ -720,18 +720,18 @@ instruction_drws(struct_processus *s_eta * Aucune variable ds_sdat n'existe. */ - (*s_etat_processus).erreur_execution = d_ex_absence_observations; + if ((*s_etat_processus).erreur_execution == d_ex) + { + (*s_etat_processus).erreur_execution = d_ex_absence_observations; + } + (*s_etat_processus).erreur_systeme = d_es; return; } - if ((s_objet_statistique = (*(*s_etat_processus).pointeur_variable_courante) - .objet) == NULL) - { - (*s_etat_processus).erreur_execution = d_ex_variable_partagee; - return; - } + s_objet_statistique = (*(*s_etat_processus).pointeur_variable_courante) + .objet; if ((*s_objet_statistique).type == MIN) {