python --rescan issue with free format fortran
I have a module in free format fortran (as Yoann at one of the scicos announced we had to move to free format). However, using rescan does not work in case a subroutine header is spread of ver multiple lines.
Example:
`! **********************************************************************************************
SUBROUTINE OUTHIST_MAKE_FILE &
! ********************************************************************************************** !
& (OUTFILE,MAXVAR,IFILE, SORG,TEXTE, NPOIN, LD, NPLAN, DATE , TIME,X_ORIG,Y_ORIG,IERR)
`
Crashes. The issue is with the following line 734 parser_fortran.py
proc = re.match(ARGNAMES, name)
which cannotfin the arguments, because there is an & in the variable name.
As a workaround, i compile the code using:
`! **********************************************************************************************
SUBROUTINE OUTHIST_MAKE_FILE (OUTFILE,MAXVAR,IFILE, SORG,TEXTE, NPOIN, LD, NPLAN, DATE , TIME,X_ORIG,Y_ORIG,IERR)
! **********************************************************************************************
!`
, which works.
It is not urgent.