Changeset 5101 for LMDZ6/branches/Amaury_dev/tools/fcm/lib
- Timestamp:
- Jul 23, 2024, 8:22:55 AM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/tools/fcm/lib/Ecmwf/Fortran90_stuff.pm
r1578 r5101 601 601 next if(/^ *$/ | /^ *!/); 602 602 # The following two substitutions should be restored at end of processing 603 s/(\'[^!]*)!+(.*\')/$1\ £$2/; # Protect against mischief604 s/(["][^!]*)!+(.*["])/$1\ £$2/; # Protect against mischief603 s/(\'[^!]*)!+(.*\')/$1\�$2/; # Protect against mischief 604 s/(["][^!]*)!+(.*["])/$1\�$2/; # Protect against mischief 605 605 $im=$im+/JPIM\b/i unless($im); 606 606 $rb=$rb+/JPRB\b/i unless($rb); … … 629 629 next unless (/^\#/); 630 630 if(@pars) { 631 s/^#include +"tsmbkind.h"/USE PARKIND1 ,ONLY 631 s/^#include +"tsmbkind.h"/USE PARKIND1 ,ONLY: $string/ ; 632 632 } 633 633 else { … … 635 635 } 636 636 # if($rh) { 637 s/^#include +"hugekind.h"/USE PARKIND2 ,ONLY 637 s/^#include +"hugekind.h"/USE PARKIND2 ,ONLY: JPRH/ ; 638 638 # } 639 639 # else { … … 1418 1418 if($hook_status == 0) { # $hook_status == 0 means we have not done anything yet 1419 1419 if($cont eq 'USE') { # Add USE YOMHOOK as second use statement 1420 $href->{post_insert}="USE YOMHOOK ,ONLY 1420 $href->{post_insert}="USE YOMHOOK ,ONLY: LHOOK, DR_HOOK\n"; 1421 1421 $hook_status=1; 1422 1422 } 1423 1423 elsif($cont eq 'IMPLICIT NONE') { # No previous USE, add USE YOMHOOK before IMPLICIT NONE 1424 $href->{pre_insert} ="USE PARKIND1 ,ONLY 1425 "USE YOMHOOK ,ONLY 1424 $href->{pre_insert} ="USE PARKIND1 ,ONLY: JPRB\n". 1425 "USE YOMHOOK ,ONLY: LHOOK, DR_HOOK\n"; 1426 1426 $hook_status=1; 1427 1427 } … … 2471 2471 s/($name)%$name/$1/g; 2472 2472 $_=uc($_); 2473 # print "PROPAG $called $_ ££@inpars \n";2473 # print "PROPAG $called $_ �� @inpars \n"; 2474 2474 my @call_args=split ',' , $_; 2475 2475 my $i=0;
Note: See TracChangeset
for help on using the changeset viewer.