-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Description
I am trying to convert an existing project to using fpm. Unfortunately (or maybe not), fpm complains about an invalid module name for something that is not defining a module. Granted this is not the kind of code I'd ever expect to actually encounter, but it is something to consider. The specific error message is:
Parse error: empty or invalid name for module
././src/pfm/distributions_m.f90:52:12
| module real*8 function get_log_logistic_p(x,a,b,c)
| ^
This is at an intermediate step in converting some legacy code, so that real*8 will get removed, but this is a general situation that could arise that the parser needs to handle. The idea is that for module <other_stuff> function | subroutine, this isn't defining a module, so just skip it.
LKedward
Metadata
Metadata
Assignees
Labels
No labels