Skip to content

Commit 9bddd97

Browse files
JHenneberggnikit
authored andcommitted
Fixes intent(in out) parsing
Fixes #160
1 parent 90f8639 commit 9bddd97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fortls/regex_patterns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class FortranRegularExpressions:
7878
KEYWORD_LIST: Pattern = compile(
7979
r"[ ]*,[ ]*(PUBLIC|PRIVATE|ALLOCATABLE|"
8080
r"POINTER|TARGET|DIMENSION[ ]*\(|"
81-
r"OPTIONAL|INTENT[ ]*\([ ]*(?:IN|OUT|INOUT)[ ]*\)|DEFERRED|NOPASS|"
81+
r"OPTIONAL|INTENT[ ]*\([ ]*(?:IN|OUT|IN[ ]*OUT)[ ]*\)|DEFERRED|NOPASS|"
8282
r"PASS[ ]*\(\w*\)|SAVE|PARAMETER|EXTERNAL|"
8383
r"CONTIGUOUS)",
8484
I,

0 commit comments

Comments
 (0)