[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5484: etags: fortran 90 recursive functions not recognozed. patch in
From: |
Kester Habermann |
Subject: |
bug#5484: etags: fortran 90 recursive functions not recognozed. patch included |
Date: |
Wed, 27 Jan 2010 13:40:48 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hello,
etags doesn't recognize a Fortran 90 function or subroutine if this is
declared recursive. I've created a patch for etags.c (version included
in emacs 23.1) that fixes the problem. As I'm not familiar with the
etags source code, I'm not sure if I did it the way it should be
done. For me the patch works and I have not noticed any side effects
so far, please check if this makes sense to you.
Example on reproducing the problem: For the included file 'foo.f90'
etags will produce:
TAGS:
foo.f90,48
subroutine sub(1,0
integer function func(5,50
As you see, some functions and subroutines were missed.
The patched version will produce:
TAGS:
subroutine sub(1,0
integer function func(5,50
recursive subroutine rsub(12,127
recursive integer function rfunc(16,189
recursive function rfunc2(22,278
This included all functions and subroutines.
Patch 'emacs-23.1-etags.patch' included (to be applied in
emacs-23.1/lib-src/)
Kind Regards
Kester
--
Program-Co-Chair LinuxTag 2010 Free Conference Program
LinuxTag 2010: Where .com meets .org - kester@linuxtag.org
emacs-23.1-etags.patch
Description: Text Data
foo.f90
Description: Text document
- bug#5484: etags: fortran 90 recursive functions not recognozed. patch included,
Kester Habermann <=