venv
This commit is contained in:
@@ -510,11 +510,9 @@ def readfortrancode(ffile, dowithline=show, istop=1):
|
||||
origfinalline = ''
|
||||
else:
|
||||
if localdolowercase:
|
||||
# lines with intent() should be lowered otherwise
|
||||
# TestString::test_char fails due to mixed case
|
||||
# f2py directives without intent() should be left untouched
|
||||
# gh-2547, gh-27697, gh-26681
|
||||
finalline = ll.lower() if "intent" in ll.lower() or not is_f2py_directive else ll
|
||||
# only skip lowering for C style constructs
|
||||
# gh-2547, gh-27697, gh-26681, gh-28014
|
||||
finalline = ll.lower() if not (is_f2py_directive and iscstyledirective(ll)) else ll
|
||||
else:
|
||||
finalline = ll
|
||||
origfinalline = ll
|
||||
|
||||
Reference in New Issue
Block a user