sphinx-fortran icon indicating copy to clipboard operation
sphinx-fortran copied to clipboard

Error when parsing source with abstract interface

Open jhaiduce opened this issue 4 years ago • 1 comments

When I try to use fortran_autodoc on a source file that uses an abstract interface, sphinx crashes with

Extension error:
Handler <function fortran_parse at 0x112981d30> for event 'builder-inited' threw an exception (exception: crackline: groupcounter(=0) is nonpositive. Check the blocks.)
make: *** [html] Error 2

Example Fortran source file:

module test
  abstract interface
  end interface
end module test

jhaiduce avatar Feb 11 '21 02:02 jhaiduce

Just realized this is probably a duplicate of #30.

jhaiduce avatar Feb 11 '21 02:02 jhaiduce