Apparently in the current version of findent (3.1.4/3.1.5~pre), the types named is* are not parsed properly. For example: the code below does not get indented at all:
Status: open Milestone: 1.0 Created: Mon Jan 13, 2020 10:18 AM UTC by Meisam Tabriz Last Updated: Mon Jan 13, 2020 10:18 AM UTC Owner: Willem Vermin
Apparently in the current version of findent (3.1.4/3.1.5~pre), the types
named is* are not parsed properly. For example: the code below does not get
indented at all:
~~~
type isti
integer :: var1
end type isti
~~~
I am not too happy with the solution, the lexer now recognizes 'TYPEIS('
as a TYPEIS statement. The parser then ignores the rest of the line in
stead of checking for (something) and an optional name.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks for mentioning the "is" problem
I guess that it has something to do with keyword TYPEIS. I'll have a look.
Regards,
Willem
Op ma 13 jan. 2020 11:18 schreef Meisam Tabriz mftabriz@users.sourceforge.net:
Related
Tickets:
#9Corrected this in devel, version 3.1.5~pre2
I am not too happy with the solution, the lexer now recognizes 'TYPEIS('
as a TYPEIS statement. The parser then ignores the rest of the line in
stead of checking for (something) and an optional name.
Found a much cleaner and simpler solution, findent-devel version 3.1.5~pre3
Thank you very much! Seems to be working without any problem.