Changing the 'attrspec' array in block in format_argattr(), makes the test on optional in format_argfield() to fail. No optional parameters are then declared with o:, but all with p:.
This MR is fixing the issue (and not detecting optional arguments by looking at the 'depend' stuff that is added by crackfortran) and updating the references since some arguments are now declared in the optional list.
Changing the 'attrspec' array in block in format_argattr(), makes the test on optional in
format_argfield()
to fail. No optional parameters are then declared witho:
, but all withp:
. This MR is fixing the issue (and not detecting optional arguments by looking at the 'depend' stuff that is added by crackfortran) and updating the references since some arguments are now declared in the optional list.