Tags in Fortran file do not appear correctly

Discussion Forums discussion Tags in Fortran file do not appear correctly

This topic contains 0 voices and has 0 replies.

Viewing 1 post (of 1 total)
Author Posts
Author Posts
February 15, 2011 at 9:16 am #5177

MAILER-DAEMON
Member

With the following file “tags.f90″, in PN v2.2.0 with Fortran 95 mode, only the tags c, L, k, 100 and v are shown; and their kind is wrong too. (c is class, L and k are unknown, 100 is variable)

=====

block data b

end block data

program p

common/c/ L

namelist/n/ L

interface i

end interface

type t

integer k

end type

integer v

100 continue

end

function f()

entry e

end

subroutine s

end

module m

end

=====

Output of ctags –fortran-kinds=+i+L -f – tags.f90:

100 tags.f90 /^ 100 continue$/;” l program:p file:

L tags.f90 /^ common/c/ L$/;” L program:p file:

L tags.f90 /^ namelist/n/ L$/;” L program:p file:

b tags.f90 /^ bl/;” b

c tags.f90 5;” c program:p

e tags.f90 /^ en/;” e function:f

f tags.f90 /^ fu/;” f

i tags.f90 /^ in/;” i program:p

k tags.f90 /^ integer k$/;” k type:t

m tags.f90 /^ mo/;” m

n tags.f90 /^ na/;” n program:p

p tags.f90 /^ pr/;” p

s tags.f90 /^ su/;” s

t tags.f90 /^ ty/;” t program:p

v tags.f90 /^ integer v$/;” v program:p

additionalLanguages.conf:

–fortran-kinds=+i+L

–langdef=properties

–langmap=properties:.ini,python:+.pyw

–regex-properties=/^[(.*)]/1/s,Section/

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.