Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when parsing source with abstract interface #32

Open
jhaiduce opened this issue Feb 11, 2021 · 1 comment
Open

Error when parsing source with abstract interface #32

jhaiduce opened this issue Feb 11, 2021 · 1 comment

Comments

@jhaiduce
Copy link

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
Copy link
Author

Just realized this is probably a duplicate of #30.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant