Skip to content

Commit 51da4f5

Browse files
committed
0.5.3 Update: fixed freak occurrence in module/symbol separation
1 parent 7bc3e22 commit 51da4f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = 'sphinxfortran_ng'
3-
version = '0.5.2'
3+
version = '0.5.3'
44
authors = [{name = "Lorenzo Crippa", email="[email protected]"}]
55
description = "An improved version of the sphinx-fortran python module"
66
readme = "README.md"

src/sphinxfortran_ng/fortran_domain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,7 @@ def find_obj(self, env, modname, name, role, searchorder=0):
12691269

12701270
if not name:
12711271
return None, None
1272-
if f_sep in name:
1272+
if f_sep in name and any(iic.isalnum() for iic in name.split(f_sep)[-1]):
12731273
modname, name = name.split(f_sep,1)
12741274
#modname = modname or '_'
12751275
if '%' in name:

0 commit comments

Comments
 (0)