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 b998e04 commit 150ab8dCopy full SHA for 150ab8d
1 file changed
fortls/regex_patterns.py
@@ -130,7 +130,7 @@ class FortranRegularExpressions:
130
I,
131
)
132
PP_DEF_TEST: Pattern = compile(r"(![ ]*)?defined[ ]*\([ ]*(\w*)[ ]*\)$", I)
133
- PP_INCLUDE: Pattern = compile(r"[ ]*#[ ]*include[ ]*([\"\w\./]*)", I)
+ PP_INCLUDE: Pattern = compile(r"[ ]*#[ ]*include[ ]*[\"']([\w\./]+)[\"']", I)
134
PP_ANY: Pattern = compile(r"^[ ]*#:?[ ]*(\w+)")
135
# Context matching rules
136
CALL: Pattern = compile(r"[ ]*CALL[ ]+[\w%]*$", I)
0 commit comments