VACUMM / sphinx-fortran

Fortran domain and autodoc extensions to Sphinx
Other
45 stars 29 forks source link

Adjust re_fieldname_match to allow for kind, len. #6

Closed jhogg41 closed 7 years ago

jhogg41 commented 7 years ago

At present code doesn't cope with kinds, lengths and other such parameters to types.

e.g. It will choke on the following:

.. f:subroutine:: test(mystring, mylong)

:p character(len=*) mystring: A string :p character(long) mylong: A long integer

This patch fixes that.