Skip to content

Erroneous syntax highlighting of if construct with tags #204

Closed
@gnikit

Description

@gnikit

I have seen fortran code using tags to describe if constructs like so

    some_tag: if (.true.) then
        
      print*, 1

    else some_tag

      print*, 2
        
    end if some_tag

The problem is that the tag at else is incorrectly highlighted.

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions