Skip to content

Commit e20e422

Browse files
committed
HACK: further reduce case insensitivity
1 parent f126edb commit e20e422

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sphinxfortran/fortran_autodoc.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ def scan(self):
347347
continue
348348
m = block['vardescsearch'](line)
349349
if m:
350-
block['vars'][m.group('varname').lower()]['desc'] = m.group(
350+
block['vars'][m.group('varname')]['desc'] = m.group(
351351
'vardesc')
352352
for bvar in list(block['vars'].values()):
353353
bvar.setdefault('desc', '')
@@ -437,7 +437,7 @@ def scan_container(self, block, insrc=None):
437437
if 'vardescsearch' in block:
438438
m = block['vardescsearch'](line)
439439
if m:
440-
block['vars'][m.group('varname').lower()]['desc'] = m.group(
440+
block['vars'][m.group('varname')]['desc'] = m.group(
441441
'vardesc')
442442

443443
# Fill empty descriptions

0 commit comments

Comments
 (0)