New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 10134 for vendors/FCM/lib/Fcm/CfgFile.pm – NEMO

Ignore:
Timestamp:
2018-09-17T15:05:46+02:00 (6 years ago)
Author:
dguibert
Message:

fcm: fix fortran interface generation with perl 5.12+

this patch applies both patches from:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendors/FCM/lib/Fcm/CfgFile.pm

    r2281 r10134  
    232232    } 
    233233 
    234     if (exists $exp_inc{uc ($self->type)} and 
    235         uc ($start ? $start->label : $label) eq $self->cfglabel ('INC') and 
    236         not defined $cont) { 
     234    if (    defined($self->type()) 
     235        &&  exists($exp_inc{uc($self->type())}) 
     236        &&  uc($start ? $start->label() : $label) eq $self->cfglabel('INC') 
     237        &&  !defined($cont) 
     238    ) { 
    237239      # Current configuration file requires expansion of INC declarations 
    238240      # The start/current line is an INC declaration 
Note: See TracChangeset for help on using the changeset viewer.