Changeset 774 for trunk/AGRIF/LIB/UtilFortran.c
- Timestamp:
- 2007-12-18T17:45:53+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AGRIF/LIB/UtilFortran.c
r663 r774 31 31 /* knowledge of the CeCILL-C license and that you accept its terms. */ 32 32 /******************************************************************************/ 33 /* version 1. 6*/33 /* version 1.7 */ 34 34 /******************************************************************************/ 35 35 #include <stdio.h> … … 268 268 newvar = (listnom *)malloc(sizeof(listnom)); 269 269 strcpy(newvar->o_nom,nom); 270 Save_Length(nom,23); 270 271 newvar->suiv = NULL; 271 272 … … 297 298 listnom *parcours_nomprec; 298 299 int out; 299 char ligne[LONGNOM]; 300 301 if ( firstpass == 0 ) 302 { 300 char ligne[LONG_C]; 301 302 if ( firstpass == 0 ) 303 { 304 parcours_nomprec = (listnom *)NULL; 303 305 parcours_nom = List_NameOfModule; 304 306 out = 0 ; … … 382 384 listnom *parcours_nomprec; 383 385 int out; 384 char ligne[LONGNOM]; 385 386 if ( firstpass == 0 ) 387 { 386 char ligne[LONG_C]; 387 388 if ( firstpass == 0 ) 389 { 390 parcours_nomprec = (listnom *)NULL; 388 391 parcours_nom = List_NameOfModule; 389 392 out = 0 ; … … 558 561 { 559 562 listvar *parcours; 560 int out;561 563 562 564 if ( firstpass == 1 ) … … 590 592 newvar = (listname *)malloc(sizeof(listname)); 591 593 strcpy(newvar->n_name,nom); 594 Save_Length(nom,20); 592 595 newvar->suiv = NULL; 593 596 List_Pointer_Var = newvar; … … 611 614 newvar = (listname *)malloc(sizeof(listname)); 612 615 strcpy(newvar->n_name,nom); 616 Save_Length(nom,20); 613 617 newvar->suiv = NULL; 614 618 parcours->suiv = newvar;
Note: See TracChangeset
for help on using the changeset viewer.