We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78ad649 commit f5cabbdCopy full SHA for f5cabbd
fortls/regex_patterns.py
@@ -40,7 +40,7 @@ class FortranRegularExpressions:
40
SUBMOD: Pattern = compile(r"[ ]*SUBMODULE[ ]*\(", I)
41
END_SMOD: Pattern = compile(r"SUBMODULE", I)
42
END_PRO: Pattern = compile(r"(MODULE)?[ ]*PROCEDURE", I)
43
- BLOCK: Pattern = compile(r"[ ]*([a-z_]\w*[ ]*:[ ]*)?BLOCK|CRITICAL(?!\w)", I)
+ BLOCK: Pattern = compile(r"[ ]*([a-z_]\w*[ ]*:[ ]*)?(BLOCK|CRITICAL)(?!\w)", I)
44
END_BLOCK: Pattern = compile(r"BLOCK|CRITICAL", I)
45
DO: Pattern = compile(r"[ ]*(?:[a-z_]\w*[ ]*:[ ]*)?DO([ ]+[0-9]*|$)", I)
46
END_DO: Pattern = compile(r"DO", I)
0 commit comments