Skip to content

Catch module+program or multiple modules in a source file and print a helpful message to the user #130

Open
@milancurcic

Description

@milancurcic

See #126. fpm currently allows either a single module or a single program in a source file. However, Fortran allows having:

  • Multiple modules per source file
  • Module + program in a source file
  • Procedures without modules in a source file

fpm should catch these scenarios and print a helpful error message for the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions