Skip to content

Commit 85a5c49

Browse files
committed
Minor fixes, removes unused
1 parent 5a68e75 commit 85a5c49

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

fortls/parse_fortran.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1675,7 +1675,7 @@ def parse_end_scope_word(
16751675
):
16761676
file_ast.end_scope(ln)
16771677
file_ast.end_scope(ln)
1678-
log.debug('%s !!! END "%s" Scope - Ln:%d', line, end_scope_word, ln)
1678+
log.debug('%s !!! END %s Scope - Ln:%d', line, end_scope_word.upper(), ln)
16791679
return True
16801680
return False
16811681

@@ -1864,13 +1864,6 @@ def get_single_line_docstring(self, line: str) -> list[str]:
18641864
doc = line[match.end(0) :].strip()
18651865
return [doc] if doc else []
18661866

1867-
@staticmethod
1868-
def parser_debug(msg: str, line: str, ln: int, scope: bool = False):
1869-
if scope:
1870-
log.debug('%s !!! END "%s" scope - Line:%d', line.strip(), msg, ln)
1871-
else:
1872-
log.debug(f"{line.strip()} !!! {msg} - Line:{ln}")
1873-
18741867
def get_comment_regexs(self) -> tuple[Pattern, Pattern]:
18751868
if self.fixed:
18761869
return FRegex.FIXED_COMMENT, FRegex.FIXED_DOC

0 commit comments

Comments
 (0)