version 1.13, 2010/07/13 13:17:21
|
version 1.51, 2014/01/26 18:21:33
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.0.17 |
RPL/2 (R) version 4.1.17 |
Copyright (C) 1989-2010 Dr. BERTRAND Joël |
Copyright (C) 1989-2014 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 59 instruction_type(struct_processus *s_eta
|
Line 59 instruction_type(struct_processus *s_eta
|
printf(" 1: %s, %s, %s, %s, %s, %s,\n" |
printf(" 1: %s, %s, %s, %s, %s, %s,\n" |
" %s, %s, %s, %s, %s,\n" |
" %s, %s, %s, %s, %s,\n" |
" %s, %s, %s, %s, %s,\n" |
" %s, %s, %s, %s, %s,\n" |
" %s, %s, %s, %s\n", |
" %s, %s, %s, %s,\n" |
|
" %s, %s, %s\n", |
d_INT, d_REL, d_CPL, d_VIN, d_VRL, d_VCX, d_MIN, d_MRL, d_MCX, |
d_INT, d_REL, d_CPL, d_VIN, d_VRL, d_VCX, d_MIN, d_MRL, d_MCX, |
d_TAB, |
|
d_BIN, d_NOM, d_CHN, d_LST, d_ALG, d_RPN, d_FCH, d_SLB, d_SCK, |
d_BIN, d_NOM, d_CHN, d_LST, d_ALG, d_RPN, d_FCH, d_SLB, d_SCK, |
d_PRC); |
d_PRC, d_TAB, d_SQL, d_MTX, d_SPH); |
printf("-> 1: %s\n\n", d_INT); |
printf("-> 1: %s\n\n", d_INT); |
|
|
if ((*s_etat_processus).langue == 'F') |
if ((*s_etat_processus).langue == 'F') |
Line 86 instruction_type(struct_processus *s_eta
|
Line 86 instruction_type(struct_processus *s_eta
|
printf(" 14 : processus\n"); |
printf(" 14 : processus\n"); |
printf(" 15 : fonction\n"); |
printf(" 15 : fonction\n"); |
printf(" 16 : table\n"); |
printf(" 16 : table\n"); |
|
printf(" 17 : connecteur SQL\n"); |
|
printf(" 18 : mutex\n"); |
|
printf(" 19 : sémaphore\n"); |
} |
} |
else |
else |
{ |
{ |
Line 107 instruction_type(struct_processus *s_eta
|
Line 110 instruction_type(struct_processus *s_eta
|
printf(" 14 : process\n"); |
printf(" 14 : process\n"); |
printf(" 15 : function\n"); |
printf(" 15 : function\n"); |
printf(" 16 : table\n"); |
printf(" 16 : table\n"); |
|
printf(" 17 : SQL connector\n"); |
|
printf(" 18 : mutex\n"); |
|
printf(" 19 : semaphore\n"); |
} |
} |
|
|
return; |
return; |
Line 211 instruction_type(struct_processus *s_eta
|
Line 217 instruction_type(struct_processus *s_eta
|
{ |
{ |
(*((integer8 *) (*s_objet_resultat).objet)) = 16; |
(*((integer8 *) (*s_objet_resultat).objet)) = 16; |
} |
} |
|
else if ((*s_objet_argument).type == SQL) |
|
{ |
|
(*((integer8 *) (*s_objet_resultat).objet)) = 17; |
|
} |
|
else if ((*s_objet_argument).type == MTX) |
|
{ |
|
(*((integer8 *) (*s_objet_resultat).objet)) = 18; |
|
} |
|
else if ((*s_objet_argument).type == SPH) |
|
{ |
|
(*((integer8 *) (*s_objet_resultat).objet)) = 19; |
|
} |
else |
else |
{ |
{ |
/* |
/* |
Line 264 instruction_then(struct_processus *s_eta
|
Line 282 instruction_then(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 513 instruction_then(struct_processus *s_eta
|
Line 531 instruction_then(struct_processus *s_eta
|
"ELSEIF") == 0)) |
"ELSEIF") == 0)) |
{ |
{ |
(*s_etat_processus).position_courante |
(*s_etat_processus).position_courante |
-= (strlen(instruction_majuscule) + 1); |
-= (integer8) (strlen( |
|
instruction_majuscule) + 1); |
drapeau_fin = d_vrai; |
drapeau_fin = d_vrai; |
} |
} |
else |
else |