Is there an existing issue for this?
Description
As described in the title, when CRITICAL statement appears in IF statement, an error "Unexpected end of scope at line" is triggered.
Screenshots

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
Is there an existing issue for this?
Description
As described in the title, when
CRITICALstatement appears inIFstatement, an error "Unexpected end of scope at line" is triggered.Screenshots
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