simplified
This commit is contained in:
parent
08ab4a0b88
commit
2a23b5eaa9
|
@ -220,9 +220,9 @@ logical function isKey(line)
|
||||||
if(len(IO_rmComment(line)) == 0) then
|
if(len(IO_rmComment(line)) == 0) then
|
||||||
isKey = .false.
|
isKey = .false.
|
||||||
else
|
else
|
||||||
isKey = IO_rmComment(line(len(IO_rmComment(line)):len(IO_rmComment(line)))) == ':' &
|
isKey = index(IO_rmComment(line),':',back=.false.) == len(IO_rmComment(line)) .and. &
|
||||||
.and. .not. isFlow(line)
|
index(IO_rmComment(line),':',back=.true.) == len(IO_rmComment(line)) .and. &
|
||||||
isKey = isKey .and. index(IO_rmComment(line),':') == index(IO_rmComment(line),':',back =.true.)
|
.not. isFlow(line)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
end function isKey
|
end function isKey
|
||||||
|
|
Loading…
Reference in New Issue