Diff for /rpl/src/instructions_e2.c between versions 1.47 and 1.76

version 1.47, 2013/02/28 13:10:29 version 1.76, 2020/01/10 11:15:45
Line 1 Line 1
 /*  /*
 ================================================================================  ================================================================================
   RPL/2 (R) version 4.1.13    RPL/2 (R) version 4.1.32
   Copyright (C) 1989-2013 Dr. BERTRAND Joël    Copyright (C) 1989-2020 Dr. BERTRAND Joël
   
   This file is part of RPL/2.    This file is part of RPL/2.
   
Line 623  instruction_errm(struct_processus *s_eta Line 623  instruction_errm(struct_processus *s_eta
 {  {
     struct_objet            *s_objet_resultat;      struct_objet            *s_objet_resultat;
   
     unsigned int            registre_erreur_execution;      int                     registre_erreur_execution;
     unsigned int            registre_erreur_systeme;      int                     registre_erreur_systeme;
     unsigned int            registre_exception;      int                     registre_exception;
   
     (*s_etat_processus).erreur_execution = d_ex;      (*s_etat_processus).erreur_execution = d_ex;
   
Line 1018  instruction_externals(struct_processus * Line 1018  instruction_externals(struct_processus *
 {  {
     logical1                ambiguite;      logical1                ambiguite;
   
     unsigned long           i;      integer8                i;
   
     struct_liste_chainee    *l_element_courant;      struct_liste_chainee    *l_element_courant;
   
Line 1132  instruction_externals(struct_processus * Line 1132  instruction_externals(struct_processus *
   
             strcpy((unsigned char *) (*(*l_element_courant).donnee).objet,              strcpy((unsigned char *) (*(*l_element_courant).donnee).objet,
                     (*s_etat_processus).s_instructions_externes[i].nom);                      (*s_etat_processus).s_instructions_externes[i].nom);
   
               if ((*s_etat_processus).s_instructions_externes[i].position_fleche
                       >= 0)
               {
                   memcpy((unsigned char *) (*(*l_element_courant).donnee).objet
                           + (*s_etat_processus).s_instructions_externes[i]
                           .position_fleche - (strlen((*s_etat_processus)
                           .s_instructions_externes[i].nom_bibliotheque) + 1),
                           "->", 2);
               }
         }          }
         else          else
         {          {
Line 1148  instruction_externals(struct_processus * Line 1158  instruction_externals(struct_processus *
                     "%s$%s", (*s_etat_processus).s_instructions_externes[i]                      "%s$%s", (*s_etat_processus).s_instructions_externes[i]
                     .nom_bibliotheque, (*s_etat_processus)                      .nom_bibliotheque, (*s_etat_processus)
                     .s_instructions_externes[i].nom);                      .s_instructions_externes[i].nom);
   
               if ((*s_etat_processus).s_instructions_externes[i].position_fleche
                       >= 0)
               {
                   memcpy((unsigned char *) (*(*l_element_courant).donnee).objet
                           + (*s_etat_processus).s_instructions_externes[i]
                           .position_fleche, "->", 2);
               }
         }          }
     }      }
   
Line 1187  instruction_exit(struct_processus *s_eta Line 1205  instruction_exit(struct_processus *s_eta
     unsigned char                   *instruction_majuscule;      unsigned char                   *instruction_majuscule;
     unsigned char                   *tampon;      unsigned char                   *tampon;
   
     unsigned long                   niveau;      integer8                        niveau;
   
     void                            (*fonction)();      void                            (*fonction)();
   
Line 1287  instruction_exit(struct_processus *s_eta Line 1305  instruction_exit(struct_processus *s_eta
         tampon = (*s_etat_processus).instruction_courante;          tampon = (*s_etat_processus).instruction_courante;
         niveau = 1;          niveau = 1;
   
         instruction_majuscule = conversion_majuscule("");          instruction_majuscule = conversion_majuscule(s_etat_processus, "");
   
         if (drapeau_boucle_definie == d_vrai)          if (drapeau_boucle_definie == d_vrai)
         {          {
Line 1305  instruction_exit(struct_processus *s_eta Line 1323  instruction_exit(struct_processus *s_eta
                 }                  }
   
                 (*s_etat_processus).erreur_systeme = d_es;                  (*s_etat_processus).erreur_systeme = d_es;
                 instruction_majuscule = conversion_majuscule(                  instruction_majuscule = conversion_majuscule(s_etat_processus,
                         (*s_etat_processus).instruction_courante);                          (*s_etat_processus).instruction_courante);
   
                 if (instruction_majuscule == NULL)                  if (instruction_majuscule == NULL)
Line 1433  instruction_exit(struct_processus *s_eta Line 1451  instruction_exit(struct_processus *s_eta
                     return;                      return;
                 }                  }
   
                 instruction_majuscule = conversion_majuscule(                  instruction_majuscule = conversion_majuscule(s_etat_processus,
                         (*s_etat_processus).instruction_courante);                          (*s_etat_processus).instruction_courante);
   
                 if (instruction_majuscule == NULL)                  if (instruction_majuscule == NULL)

Removed from v.1.47  
changed lines
  Added in v.1.76


CVSweb interface <joel.bertrand@systella.fr>