version 1.2, 2010/01/27 22:22:09
|
version 1.19.2.2, 2011/04/14 08:46:34
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.0.10 |
RPL/2 (R) version 4.0.23 |
Copyright (C) 1989-2010 Dr. BERTRAND Joël |
Copyright (C) 1989-2011 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
|
|
Line 20
|
Line 20
|
*/ |
*/ |
|
|
|
|
#include "rpl.conv.h" |
#include "rpl-conv.h" |
|
|
|
|
/* |
/* |
Line 36
|
Line 36
|
*/ |
*/ |
|
|
struct_liste_chainee * |
struct_liste_chainee * |
analyse_rpn(struct_processus *s_etat_processus, |
analyse_rpn(struct_processus *s_etat_processus, unsigned char *chaine_rpn) |
unsigned char *chaine_rpn) |
|
{ |
{ |
|
struct_liste_chainee *l_ancienne_base_pile; |
struct_liste_chainee *l_base_liste; |
struct_liste_chainee *l_base_liste; |
struct_liste_chainee *l_element_courant; |
struct_liste_chainee *l_element_courant; |
struct_liste_chainee *l_element_precedent; |
struct_liste_chainee *l_element_precedent; |
Line 67 analyse_rpn(struct_processus *s_etat_pro
|
Line 67 analyse_rpn(struct_processus *s_etat_pro
|
(*s_etat_processus).definitions_chainees = chaine_rpn; |
(*s_etat_processus).definitions_chainees = chaine_rpn; |
(*s_etat_processus).autorisation_empilement_programme = 'N'; |
(*s_etat_processus).autorisation_empilement_programme = 'N'; |
|
|
|
l_ancienne_base_pile = (*s_etat_processus).l_base_pile; |
nombre_termes = 0; |
nombre_termes = 0; |
|
|
while((*s_etat_processus).definitions_chainees |
while((*s_etat_processus).definitions_chainees |
Line 82 analyse_rpn(struct_processus *s_etat_pro
|
Line 83 analyse_rpn(struct_processus *s_etat_pro
|
|
|
if ((*s_etat_processus).erreur_execution != d_ex) |
if ((*s_etat_processus).erreur_execution != d_ex) |
{ |
{ |
for(i = 0; i < nombre_termes; i++) |
while((*s_etat_processus).l_base_pile != l_ancienne_base_pile) |
{ |
{ |
if (depilement(s_etat_processus, &((*s_etat_processus) |
if (depilement(s_etat_processus, &((*s_etat_processus) |
.l_base_pile), &s_objet) == d_erreur) |
.l_base_pile), &s_objet) == d_erreur) |