Skip to content

bug: CRITICAL statement in IF statement triggers "Unexpected end of scope at line" #255

Description

@han190

Is there an existing issue for this?

  • I have searched the existing issues

Description

As described in the title, when CRITICAL statement appears in IF statement, an error "Unexpected end of scope at line" is triggered.

Screenshots

Screenshot 2023-01-11 193437

Expected Behaviour

I believe the test code should be standard conforming.

Version of Modern Fortran

v3.4.2023011101

Version of Visual Studio Code

v1.74.3

Platform and Architecture

WSL

Additional Information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinglsp/diagnosticsIssues related with generating and displaying diagnostic messagesparser: nativeIssues related with the native parser of fortls

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions