fix #3
This commit is contained in:
parent
b0609eea21
commit
82d6ce586b
|
@ -165,7 +165,7 @@ class SkillLanguageServer(LanguageServer):
|
|||
def _diagnose_cisms(self, doc: TextDocument) -> Generator[Diagnostic, None, None]:
|
||||
for row, line in enumerate(doc.lines):
|
||||
for m in finditer(
|
||||
r"(?P<proc>procedure\s+)?([a-zA-Z_][a-zA-Z_0-9]+)\(", line
|
||||
r"(?P<proc>procedure\s+|;.*)?([a-zA-Z_][a-zA-Z_0-9]+)\(", line
|
||||
):
|
||||
if not m.group("proc"):
|
||||
yield Diagnostic(
|
||||
|
|
Loading…
Reference in New Issue