ecmwf-ifs / loki

Freely programmable source-to-source translation for Fortran
https://sites.ecmwf.int/docs/loki/
Apache License 2.0
29 stars 12 forks source link

Scheduler: Fix handling of external module procedures #263

Closed reuterbal closed 6 months ago

reuterbal commented 6 months ago

Procedures in missing modules (that are recognized as ExternalItem) were not recognized as ExternalItems and instead created as ProcedureItem with missing source. This fixes that erroneous behaviour.

github-actions[bot] commented 6 months ago

Documentation for this branch can be viewed at https://sites.ecmwf.int/docs/loki/263/index.html

reuterbal commented 6 months ago

Piggy-backed a small fix to the regex frontend: functions with a kind-specifier and return-type declaration in the prefix (i.e., = in the function prefix), wouldn't match if embedded in a module. modified an existing test accordingly