version 1.29, 2012/12/19 09:58:23
|
version 1.33, 2013/03/01 09:29:30
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.1.12 |
RPL/2 (R) version 4.1.13 |
Copyright (C) 1989-2012 Dr. BERTRAND Joël |
Copyright (C) 1989-2013 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
|
|
Line 165 formateur_flux(struct_processus *s_etat_
|
Line 165 formateur_flux(struct_processus *s_etat_
|
{ |
{ |
printf("+++Information : " |
printf("+++Information : " |
"Séquence d'échappement " |
"Séquence d'échappement " |
"inconnue [%d]\n", |
"inconnue (\\x%c%c) [%d]\n", |
|
*ptr_lecture, *(ptr_lecture + 1), |
(int) getpid()); |
(int) getpid()); |
} |
} |
else |
else |
{ |
{ |
printf("+++Warning : Unknown " |
printf("+++Warning : Unknown " |
"escape code " |
"escape code (\\x%c%c) [%d]\n", |
"[%d]\n", (int) getpid()); |
*ptr_lecture, *(ptr_lecture + 1), |
|
(int) getpid()); |
} |
} |
} |
} |
} |
} |
Line 182 formateur_flux(struct_processus *s_etat_
|
Line 184 formateur_flux(struct_processus *s_etat_
|
{ |
{ |
printf("+++Information : " |
printf("+++Information : " |
"Séquence d'échappement " |
"Séquence d'échappement " |
"inconnue [%d]\n", (int) getpid()); |
"tronquée [%d]\n", (int) getpid()); |
} |
} |
else |
else |
{ |
{ |
printf("+++Warning : Unknown escape code " |
printf("+++Warning : Truncated escape code " |
"[%d]\n", (int) getpid()); |
"[%d]\n", (int) getpid()); |
} |
} |
} |
} |
Line 212 formateur_flux(struct_processus *s_etat_
|
Line 214 formateur_flux(struct_processus *s_etat_
|
} |
} |
else |
else |
{ |
{ |
if ((*s_etat_processus).langue == 'F') |
if ((*(ptr_lecture + 1)) == d_code_fin_chaine) |
{ |
{ |
printf("+++Information : Séquence d'échappement " |
if ((*s_etat_processus).langue == 'F') |
"inconnue [%d]\n", (int) getpid()); |
{ |
|
printf("+++Information : " |
|
"Séquence d'échappement " |
|
"tronquée [%d]\n", (int) getpid()); |
|
} |
|
else |
|
{ |
|
printf("+++Warning : Truncated escape code " |
|
"[%d]\n", (int) getpid()); |
|
} |
} |
} |
else |
else |
{ |
{ |
printf("+++Warning : Unknown escape code " |
if ((*s_etat_processus).langue == 'F') |
"[%d]\n", (int) getpid()); |
{ |
|
printf("+++Information : Séquence d'échappement " |
|
"inconnue (%c%c) [%d]\n", |
|
*ptr_lecture, *(ptr_lecture + 1), |
|
(int) getpid()); |
|
} |
|
else |
|
{ |
|
printf("+++Warning : Unknown escape code (%c%c) " |
|
"[%d]\n", *ptr_lecture, *(ptr_lecture + 1), |
|
(int) getpid()); |
|
} |
} |
} |
} |
} |
} |
} |
Line 286 analyse_flux(struct_processus *s_etat_pr
|
Line 308 analyse_flux(struct_processus *s_etat_pr
|
case '\b': |
case '\b': |
case '\n': |
case '\n': |
case '\t': |
case '\t': |
|
case '\\': |
{ |
{ |
offset = ptr_ecriture - chaine; |
offset = ptr_ecriture - chaine; |
|
|
Line 325 analyse_flux(struct_processus *s_etat_pr
|
Line 348 analyse_flux(struct_processus *s_etat_pr
|
*ptr_ecriture++ = 't'; |
*ptr_ecriture++ = 't'; |
break; |
break; |
} |
} |
|
|
|
case '\\': |
|
{ |
|
*ptr_ecriture++ = '\\'; |
|
break; |
|
} |
} |
} |
|
|
break; |
break; |