Fortran-FOSS-Programmers / ford

Automatically generates FORtran Documentation from comments within the code.
https://forddocs.readthedocs.io
GNU General Public License v3.0
407 stars 133 forks source link

Fix call chain parsing for some edge cases #525

Closed JosephWood2001 closed 1 year ago

JosephWood2001 commented 1 year ago

Fixes some cases where the parsing of call chain fails. Specifically if there is white-space tailing the last % in the chain, and if the call is made inside of square brackets.

ZedThree commented 1 year ago

Thanks for all your work on this @JosephWood2001! I noticed there was still an issue with subroutine calls, so I've fixed that up -- it also gave me an opportunity for some other minor refactoring